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. Alternatively, fstatfs can
pass a file descriptor in an open file in the fd parameter and get similar informa-
tion. buf is a statfs pointer structure 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 er-
rors 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)
Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache/1.3.37 (Unix) mod_throttle/3.1.2 FrontPage/5.0.2.2635 mod_psoft_traffic/0.2 mod_ssl/2.8.28 OpenSSL/0.9.8b
Under GNU General Public License
2008-11-21 01:43 @38.103.63.55 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)