Query: statfsdev
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
statfsdev(3C) statfsdev(3C)NAMEstatfsdev(), fstatfsdev() - get file system statisticsSYNOPSISDESCRIPTIONreturns information about the file system contained in the file specified by path. buf is a pointer to a structure into which information is placed concerning the file system. The contents of the structure pointed to by buf include the following members: The fields and are expressed in terms of blocks of size Fields that are undefined for a particular file system are set to -1 . returns the same information as above, but about the open file referred to by file descriptor fildes.RETURN VALUEUpon successful completion, and return zero. Otherwise, they return -1 and set the global variable to indicate the error.ERRORSfails if one or more of the following conditions are encountered: Search permission is denied for a component of the path prefix. The file exists, enforcement mode file/record locking is set, and there are outstanding record locks on the file. path points to an invalid address. Too many symbolic links are encountered in translating the path name. The maximum number of file descriptors allowed are currently open. The length of the specified path name exceeds bytes, or the length of a component of the path name exceeds bytes while is in effect. The system file table is full. The named file does not exist. A component of the path prefix is not a directory. The device specified by the named special file does not exist. Result would overflow one or more fields of the struct. fails if one or more of the following is true: fildes is not a valid open file descriptor. filedes points to an invalid address. Both and fail if one or more of the following is true: Enforcement-mode record locking was set, and there was a blocking write lock. A resource deadlock would occur as a result of this operation. A system call was interrupted by a signal. The file specified by path or filedes does not contain a file system of any known type. The system lock table was full, so the read could not go to sleep until the blocking write lock was removed. Contact your system administrator to make sure the is running properly on the system.WARNINGSand are deprecated and should be used only by legacy 32-bit applications. and are the recommended replacements. See fgetpos64(3S).AUTHORand were developed by HP.FILESSEE ALSObdf(1M), df(1M), stat(2), statfs(2), thread_safety(5). statfsdev(3C)
Related Man Pages |
---|
fstatfs(2) - bsd |
truncate(2) - hpux |
fstatvfs1(2) - netbsd |
fstatvfsdev(3c) - hpux |
statvfsdev(3c) - hpux |
Similar Topics in the Unix Linux Community |
---|
How to get Absolute path from file descriptors |