Determines the accessibility of a file.

Syntax

#include <prio.h>

PRStatus PR_Access(
  const char *name,
  PRAccessHow how);

Parameters

The function has the following parameters:

name
The pathname of the file whose accessibility is to be determined.
how
Specifies which access permission to check for. Use one of the following values:

Returns

One of the following values: