Open System Services System Calls Reference Manual (G06.25+, H06.03+)

System Functions (a - d) access(2)
[ENOENT] One of the following conditions exists:
The specied pathname does not exist.
The specied pathname is an empty string.
The specied pathname cannot be mapped to a valid Guardian lename.
The path parameter species a le on a remote HP NonStop node but
communication with the remote node has been lost.
[ENOROOT] One of the following conditions exists:
The root leset of the local node (leset 0) is not in the STARTED state.
The current root leset for the specied le is unavailable. The OSS
name server for the leset might have failed.
The specied le is on a remote HP NonStop node and communication
with the remote name server has been lost.
[ENOTDIR] A component of the pathname prex is not a directory.
[ENXIO] The leset containing the current working directory or the root leset is not
mounted.
[EOSSNOTRUNNING]
The program attempted an operation on an object in the OSS environment while
a required system process was not running.
[EROFS] Write access is requested for a le on a read-only leset.
[ETXTBSY] Write access is requested for a pure procedure (shared text) le that is being exe-
cuted.
RELATED INFORMATION
Functions: chmod(2), stat(2).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to dene. The following
features are affected in the HP implementation:
To override the le access control mechanism, a process must have a user ID of the super
ID.
The error [EINVAL] can be detected.
The following are HP extensions to the XPG4 Version 2 specication:
The errno values [EFAULT], [EFSBAD], [EINTR], [EIO], [ENOROOT], [ENXIO], and
[EOSSNOTRUNNING] can be returned.
527186-003 Hewlett-Packard Company 17