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

open(2) OSS System Calls Reference Manual
O_CREAT is set, and the pathname prex does not exist.
The path parameter points to an empty string.
The function call attempted to open a le in the Guardian le system, but
the specied pathname cannot be mapped to a valid Guardian lename.
The path parameter points to a le on a remote HP NonStop node, but
communication with the remote node has been lost.
[ENOMEM] The system has insufcient resources to allow another open le.
[ENOROOT] One of these 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.
[ENOSPC] The directory that would contain the new le cannot be extended, the le does
not exist, and the O_CREAT ag is set.
[ENOTDIR] A component of the pathname prex is not a directory.
[ENXIO] One of these conditions exists:
The named le is a character special le, and the device associated with
this special le does not exist.
The O_NONBLOCK ag is set, the named le is a FIFO le, the
O_WRONLY ag is set, and no process has the le open for reading.
The leset containing the clients current working directory or root
directory is not mounted.
[EOPNOTSUPP]
The named le is a socket bound to the le system (not an AF_INET or
AF_INET6 socket) and cannot be opened.
[EOSSNOTRUNNING]
A required system process is not running.
[EPERM] One of these conditions exists:
The function call attempted to create a le named lost+found in the root
directory of an OSS leset.
The call attempted to create a le in /E.
[EROFS] The named le resides on a read-only leset, and write access is required.
[ETXTBSY] The le is being executed, and the oag value is O_WRONLY or O_RDWR.
For all other error conditions, errno is set to the appropriate Guardian le-system error number.
See the Guardian Procedure Errors and Messages Manual for more information about a specic
Guardian le-system error.
512 Hewlett-Packard Company 527186-003