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 specified pathname does not exist.
• The specified pathname is an empty string.
• The specified pathname cannot be mapped to a valid Guardian filename.
• The path parameter specifies a file on a remote HP NonStop node but
communication with the remote node has been lost.
[ENOROOT] One of the following conditions exists:
• The root fileset of the local node (fileset 0) is not in the STARTED state.
• The current root fileset for the specified file is unavailable. The OSS
name server for the fileset might have failed.
• The specified file is on a remote HP NonStop node and communication
with the remote name server has been lost.
[ENOTDIR] A component of the pathname prefix is not a directory.
[ENXIO] The fileset containing the current working directory or the root fileset 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 file on a read-only fileset.
[ETXTBSY] Write access is requested for a pure procedure (shared text) file 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 define. The following
features are affected in the HP implementation:
• To override the file 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 specification:
• The errno values [EFAULT], [EFSBAD], [EINTR], [EIO], [ENOROOT], [ENXIO], and
[EOSSNOTRUNNING] can be returned.
527186-003 Hewlett-Packard Company 1−7