Name
gpfs_fstat - Returns exact file status for a GPFS file.
Library
GPFS Library (libgpfs.a)
Synopsis
#include <gpfs.h> int gpfs_fstat(int fileDesc, struct stat64 *Buffer)
Description
The gpfs_fstat( ) function is used to obtain exact information about the file associated with the FileDesc parameter. This call is provided as an alternative to the stat( ) call which may not provide exact mtime and atime values (see Exceptions to Open Group technical standards).
read, write, or execute permission for the named file is not required, but all directories listed in the path leading to the file must be searchable. The file information is written to the area specified by the Buffer parameter.
Notes:
Parameters
Exit status
If the gpfs_fstat( ) subroutine is successful, it returns a value of 0.
If the gpfs_fstat( ) subroutine is unsuccessful, it returns a value of -1 and sets the global error variable errno to indicate the nature of the error.
Exceptions
NONE
Error status
Location
/usr/lpp/mmfs/lib/libgpfs.a