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

System Functions (n - p) open(2)
The O_CREAT ag is set and bits other than the le permission and
appropriate le type ags are set in the mode parameter.
Both the O_TRUNC ag and O_RDONLY ag are set.
None of the access ags O_RDONLY, O_WRONLY,orO_RDWR are
set.
The function call attempted to create a Guardian le (that is, a le in the
/G le system), but the pathname cannot be mapped to a valid Guardian
lename.
The function call attempted to open a Guardian le of a type other than
those permitted.
The function call attempted to create a Guardian temporary le.
[EIO] A physical input or output error occurred. The device where the le is stored
might be in the down state, or both processors that provide access to the device
might have failed.
Data might have been lost during transfer.
[EISDIR] One of these conditions exists:
The named le is an OSS directory, and write access is requested.
The named le is a Guardian directory (/G or a directory in the /G le
system).
[ELOOP] Too many symbolic links were encountered in translating the path parameter.
[EMFILE] The system limit for open le descriptors per process has reached the maximum
permitted.
[ENAMETOOLONG]
One of these is too long:
The pathname pointed to by the path parameter
A component of the pathname pointed to by the path parameter
The intermediate result of pathname resolution when a symbolic link is
part of the path parameter
The pathconf( ) function can be called to obtain the applicable limits.
[ENFILE] The maximum allowable number of les are currently open in this node.
[ENETDOWN]
The call was blocked during access to a FIFO, and communication has been lost
with the remote node containing the other end of the FIFO.
[ENOENT] One of these conditions exists:
The O_CREAT ag is not set, and the named le does not exist.
527186-003 Hewlett-Packard Company 511