14.11. Obtaining Information About a File System: statvfs()
The statvfs() and fstatvfs() library functions obtain information about a mounted file system.
#include <sys/statvfs.h>
int statvfs(const char *pathname, struct statvfs *statvfsbuf);
int fstatvfs(int fd, struct statvfs *statvfsbuf);
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial