Man page of getfsstat
Section: System Calls (2)
Return to Main Contents
getfsstat - Gets list of all mounted file systems
struct statfs buf,
int flags );
An array of
Specifies the size in bytes of the
Specifies one of the following flags:
Wait for an update from each file system before returning information.
Information is returned without requesting
an update from each file system.
Thus, some of the information will be out of date, but the
will not block waiting for information from a file system that is
unable to respond.
returns information about all mounted file systems.
Upon successful completion,
the buffer pointed to by the
is filled with an array of
structures, one for each mounted file system
up to the size specified by the
is given as 0 (zero), the
returns just the number of mounted file systems.
Upon successful completion, the number of
structures is returned.
Otherwise, -1 is returned and
is set to indicate the error.
may be set to one of the following values:
points to an invalid address.
An I/O error occurred while reading from or writing to the file system.
- RETURN VALUE
- RELATED INFORMATION
This document was created by
using the manual pages.
Time: 02:40:14 GMT, October 02, 2010