checks in the name server database the existence or the accessibility of the
according to the bit pattern in
using the real user ID.
is either the Site URL or the Physical File Name for the replica.
the bit pattern is built by an OR of the constants defined in
under Unix or to be explicitly defined under Windows/NT:
test for read permission
test for write permission
test for search/execute permission
test for existence of the file.
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 does not exist.
Search permission is denied on a component of the parent file prefix,
the specified access to the file itself is denied or W_OK is requested but
the replica status is not 'P' (cannot modify an existing file).