fstatfs64

Name

fstatfs64 -- Get file system statistics (Large File Support)

Synopsis

#include <errno.h>
#include <sys/statfs.h>

int fstatfs64(int fd, struct statfs64 *buf);

Description

fstatfs64 returns information about a mounted file system. fd is the open file descriptor of any file within the mounted filesystem.

The fstatfs64() function is the 64-bit version of fstatfs().

Return Value

On success, zero is returned. On error, -1 is returned, and errno is set appropriately.