HP-UX Reference (11i v1 05/09) - 2 System Calls (vol 5)
a
access(2) access(2)
[EFAULT] path points outside the allocated address space for the process. The reliable detection
of this error is implementation dependent.
[ELOOP] Too many symbolic links were encountered in translating the path name.
[ENAMETOOLONG]
The length of the specified path name exceeds
PATH_MAX bytes, or the length of a
component of the path name exceeds
NAME_MAX
bytes while _POSIX_NO_TRUNC is
in effect.
[ENOENT] Read, write, or execute (search) permission is requested for a null path name.
[ENOENT] The named file does not exist.
[ENOTDIR] A component of the path prefix is not a directory.
[EROFS] Write access is requested for a file on a read-only file system.
[ETXTBSY] Write access is requested for a pure procedure (shared text) file that is being executed.
SEE ALSO
acl(2), chmod(2), stat(2), setacl(2), acl(5), aclv(5), unistd(5).
STANDARDS CONFORMANCE
access(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1
Section 2−−8 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005