2 access - determine existence or accessibility of named file
9 mode integer or string containing only 'r', 'w', 'x' characters
11 return null value or error
14 access(name) or access(name, 0) or access(name, "") returns the null
15 value if a file with this name exists.
17 If non-null mode is specified, the null value is returned if there
18 is a file with the specified name and accessibility indicated by the
19 bits or characters of the mode argument: 'r' or bit 2 for reading,
20 'w' or bit 1 for writing, 'x' or bit 0 for execution.
23 The system error-numbers and messages may differ for different
30 "No such file or directory"
31 > f = fopen("junk", "w")
42 There may be implementation-dependent limits inherited from the
43 system call "access" used by this function.
49 fopen, fclose, isfile, files