VMS Help
CC, Run-time functions, access

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  Checks a file to see if a specified access mode is allowed.

  Syntax:

       #include <unistd.h>

       int access(const char *file_spec, int mode);

  The mode is interpreted as follows:

      F_OK -- Test to see if the file exists

      X_OK -- Execute

      W_OK -- Write (implies delete access)

      R_OK -- Read
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.