Manpage of GFAL_ACCESS
Section: Library Functions (3)
Updated: 2003/11/19 12:56:29
Return to Main Contents
gfal_access - check existence/accessibility of a file/directory
int gfal_access (const char *path,
checks the existence or the accessibility of the file/directory
according to the bit pattern in
using the real user ID.
specifies the file name (this can only be a TURL in the current implementation).
the bit pattern is built by an OR of the constants defined in
This routine returns 0 if the operation was successful or -1 if the operation
failed. In the latter case,
is set appropriately.
The named file/directory does not exist.
Search permission is denied on a component of the
prefix or specified access to the file itself is denied.
is a NULL pointer.
A component of
prefix is not a directory.
has an invalid syntax or
Access method not supported.
- RETURN VALUE
- SEE ALSO
This document was created by
using the manual pages.
Time: 12:34:06 GMT, January 20, 2004