Name
gpfs_stat - Returns exact file status for a GPFS file.
Library
GPFS Library (libgpfs.a)
Synopsis
#include <gpfs.h> int gpfs_stat(char *pathName, struct stat64 *Buffer)
Description
The gpfs_stat( ) function is used to obtain exact information about the file named by the Pathname 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_stat( ) subroutine is successful, it returns a value of 0.
If the gpfs_stat( ) 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