int fstatfs(int fildes, struct statfs *buf);
int statfs(const char *path, struct statfs *buf);
The concept of an inode does not exist on Windows. Consequently, members f_files (total inodes) and f_ffree (free inodes) always contain -1.
Is the file descriptor for an open file on the file system to be queried.
Specifies the path name of a file within the file system.
This is a result parameter that is filled in with the information of the file system.
Search permission is denied for a component of the path prefix.
fildes is not a valid open file descriptor.
buf or path is an invalid pointer.
fildes or path refer to a file that does not reside on a physical file system.
The length of the path exceeds PATH_MAX.
path refers to a drive letter that is not mounted.
The named file does not exist.
A component of the path prefix is not a directory.
SVR4, with exceptions.
Inodes do not exist on Windows. See the DESCRIPTION section.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.3 Documentation Build 39.