Copyright (C) 2000-2012 |
Manpages USTATSection: Linux Programmer's Manual (2)Updated: 1995-08-09 Index Return to Main Contents NAMEustat - get file system statisticsSYNOPSIS#include <sys/types.h> DESCRIPTIONustat returns information about a mounted file system. dev is a device number identifying a device containing a mounted file system. ubuf is a pointer to a ustat structure that contains the following members:
The last two fields, f_fname and f_fpack, are not implemented and will always be filled with null characters. RETURN VALUEOn success, zero is returned and the ustat structure pointed to by ubuf will be filled in. On error, -1 is returned, and errno is set appropriately.ERRORS
NOTESustat has only been provided for compatibility. All new programs should use statfs(2) instead.CONFORMING TOSVr4. SVr4 documents additional error conditions ENOLINK, ECOMM, and EINTR but has no ENOSYS condition.SEE ALSOstatfs(2), stat(2)
IndexThis document was created by man2html, using the manual pages. Time: 16:23:37 GMT, April 26, 2024 |