Open System Services System Calls Reference Manual (G06.25+, H06.03+)

statvfs(2) OSS System Calls Reference Manual
For Contains
Regular le Number of blocks.
Directory Number of blocks.
FIFO Number of blocks.
AF_UNIX socket Number of blocks.
/dev/null Number of blocks.
Object in /G Number of blocks.
/G 0
/G/ztnt/#ptynn 0
/E 0
f_bmaxavail Number of blocks free on the disk volume with the most space
remaining.
For Contains
Regular le Number of blocks.
Directory Number of blocks.
FIFO Number of blocks.
AF_UNIX socket Number of blocks.
/dev/null Number of blocks.
Object in /G Number of blocks.
/G 0
/G/ztnt/#ptynn 0
/E 0
Use From the Guardian Environment
The statvfs() function is one of a set of functions that have the following effects when the rst of
them is called from the Guardian environment:
Two Guardian le system le numbers (not necessarily the next two
available) are allocated for the root directory and the current working
directory. These le numbers cannot be closed by calling the Guardian
FILE_CLOSE_ procedure.
The current working directory is assigned from the VOLUME attribute
of the Guardian environment =_DEFAULTS DEFINE.
The use of static memory by the process increases slightly.
These effects occur only when the rst of the set of functions is called. The
effects are not cumulative.
NOTES
This function provides compatibility with the System V Interface Denition, Revision 3.
RETURN VALUES
Upon successful completion, the statvfs() function returns the value 0 (zero). Otherwise, it
returns the value -1 and errno is set to indicate the error.
7176 Hewlett-Packard Company 527186-003