HP-UX Reference (11i v2 04/09) - 2 System Calls (vol 5)
s
statvfs(2) statvfs(2)
ERRORS
If statvfs() fails, errno is set to one of the following values:
[EACCES] Search permission is denied for a component of the path prefix.
[ELOOP] Too many symbolic links are encountered during path-name translation.
[ENAMETOOLONG]
The length of the specified path name exceeds
PATH_MAX bytes, or the length
of a component of the path name exceeds
NAME_MAX bytes while
_POSIX_NO_TRUNC
is in effect.
[ENOENT] The named file does not exist (for example, path is null or a component of path
does not exist).
[ENOTDIR] A component of the path prefix is not a directory.
If
fstatvfs() fails, errno is set to the following value:
[EBADF] fildes is not a valid open file descriptor.
When both
statvfs() and fstatvfs() fail, errno
is set to one of the following values:
[EFAULT] buf points to an invalid address.
[EIO] An I/O error occurred while reading from or writing to the file system.
[EOVERFLOW] Result would overflow one or more fields of the
statvfs struct.
SEE ALSO
df(1M), fstatfs(2), fstatvfs64(2), quotactl(2), stat(2), statfs(2), statvfs64(2), sysfs(2), ustat(2).
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 2−−415