statfs64 -- (deprecated)


#include <sys/statfs.h>

int statfs64(const char * path, (struct statfs64 * buf));


The statfs64() function returns information about a mounted file system. The file system is identified by path, a path name of a file within the mounted filesystem. The results are placed in the structure pointed to by buf.

statfs64() is the 64-bit version of statfs().

Fields that are undefined for a particular file system shall be set to 0.

Note: Application developers should use the statvfs64() function to obtain general file system information. Applications should only use the statfs64() function if they must determine the file system type, which need not be provided by statvfs64().

Return Value

On success, the statfs64() function shall return 0 and set the fields of the structure idenfitied by buf accordingly. On error, the statfs64() function shall return -1 and set errno accordingly.


See fstatfs().