fstatvfs64()--Get File System Information by Descriptor (64-Bit Enabled)


  Syntax
 #include <sys/statvfs.h>

 int fstatvfs64(int fildes, struct statvfs64 *buf);  
  Service Program Name: QP0LLIB1

  Default Public Authority: *USE

  Threadsafe: Conditional; see Usage Notes.

The fstatvfs64() function gets status information about the file system that contains the file referred to by the open file descriptor fildes. The information is stored in the area of memory indicated by the buf argument. The status information is returned in a statvfs64 structure, as defined in the <sys/statvfs.h> header file.

For details about parameters, authorities required, error conditions and examples, see fstatvfs()--Get File System Information by Descriptor. For details about the struct statvfs64 structure, see statvfs64()--Get File System Information (64-Bit Enabled).


Usage Notes

  1. When you develop in C-based languages, the prototypes for the 64-bit APIs are normally hidden. To use the fstatvfs64() API and the struct statvfs64 data type, you must compile the source with the _LARGE_FILE_API defined.
  2. All of the usage notes for fstatvfs() apply to fstatvfs64(). See Usage Notes in the fstatvfs() API.


API introduced: V4R4

[ Back to top | UNIX-Type APIs | APIs by category ]