Open System Services System Calls Reference Manual (G06.28+, H06.05+)

System Functions (n - p) open64(2)
The function call attempted to open a Guardian EDIT le, but the cor-
rupted ag is set in the le label.
[EFSBAD] The leset catalog for one of the lesets involved in the operation is corrupt.
[EGUARDIANOPEN]
The function call attempted to open a Guardian EDIT le for write access or for
Guardian shared or exclusive exclusion access, but the le has already been
opened with a Guardian procedure call.
[EINTR] A signal was caught during the open operation. This value is returned only for
character special les (terminal devices) and for FIFO special les.
[EINVAL] One of these conditions exists:
The call attempted to create a directory named lost+found in the root
directory of an OSS leset, or it attempted to create a directory named
/dev, /dev/tty,or/dev/null in the root directory of the OSS le system.
The function call specied the O_CREAT ag but did not specify the
mode parameter.
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.
527186-007 Hewlett-Packard Company 521