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 prefix does not exist.
• The path parameter points to an empty string.
• The function call attempted to open a file in the Guardian file system, but
the specified pathname cannot be mapped to a valid Guardian filename.
• The path parameter points to a file on a remote HP NonStop node, but
communication with the remote node has been lost.
[ENOMEM] The system has insufficient resources to allow another open file.
[ENOROOT] One of these 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.
[ENOSPC] The directory that would contain the new file cannot be extended, the file does
not exist, and the O_CREAT flag is set.
[ENOTDIR] A component of the pathname prefix is not a directory.
[ENXIO] One of these conditions exists:
• The named file is a character special file, and the device associated with
this special file does not exist.
• The O_NONBLOCK flag is set, the named file is a FIFO file, the
O_WRONLY flag is set, and no process has the file open for reading.
• The fileset containing the client’s current working directory or root
directory is not mounted.
[EOPNOTSUPP]
The named file is a socket bound to the file 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 file named lost+found in the root
directory of an OSS fileset.
• The call attempted to create a file in /E.
[EROFS] The named file resides on a read-only fileset, and write access is required.
[ETXTBSY] The file is being executed, and the oflag value is O_WRONLY or O_RDWR.
For all other error conditions, errno is set to the appropriate Guardian file-system error number.
See the Guardian Procedure Errors and Messages Manual for more information about a specific
Guardian file-system error.
5−12 Hewlett-Packard Company 527186-003