Determines the accessibility of a file.
#include <prio.h> PRStatus PR_Access( const char *name, PRAccessHow how);
The function has the following parameters:
name
how
PR_ACCESS_READ_OK
. Test for read permission.PR_ACCESS_WRITE_OK
. Test for write permission.PR_ACCESS_EXISTS
. Check existence of file.One of the following values:
PR_SUCCESS
.PR_FAILURE
.