statfs64 man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]


STATFS64,FSTATFS64(2)	   Linux Programmer's Guide	 STATFS64,FSTATFS64(2)

NAME
       statfs64,fstatfs64 - Get file system statistics

SYNOPSIS
       long statfs64 (const char *path, size_t sz, struct statfs64 *buf);

       long fstatfs64 (unsigned int fd, size_t sz, struct statfs64 *buf);

DESCRIPTION
       statfs64	 and fstatfs64 get file system statistics. For statfs, path is
       the path name of a file in the mounted file system in question.	Alter‐
       natively,  fstatfs can pass a file descriptor in an open file in the fd
       parameter and get similar information. buf is a statfs  pointer	struc‐
       ture  that contains information about the file system, such as type and
       free blocks.

RETURN VALUE
       statfs64 and fstatfs64 return 0 on success. Otherwise, they return  one
       of the errors listed in the "Errors" section.

ERRORS
       EINVAL, EFAULT
	      An invalid address for buf was specified.

       EBADF  An  invalid file descriptor, fd, was specified. fd is applicable
	      to fstatfs only.

SEE ALSO
       stat(2), statvfs(2)

AUTHOR
       Niki Rahimi

Linux 2.6			 2004-March-12		 STATFS64,FSTATFS64(2)
[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net