Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (n - p) open64(2)
[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.
[ENOTSUP] The path parameter specifies a Guardian file on an SMF logical volume and one
of the following conditions exists:
The local system is running an RVU prior to J06.15 or H06.26.
The path parameter specifies a file in /E and the remote system is run-
ning an RVU prior to J06.15 or H06.26.
[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 clients 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.
The program attempted an operation on a SEEP-protected fileset. Valid
for J06.15 and later J-series RVUs, and H06.26 and later H-series RVUs.
[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.
For more information about a specific Guardian file-system error, see the Guardian Procedure
Errors and Messages Manual.
RELATED INFORMATION
Commands: getacl(1), setacl(1).
Functions: acl(2), chmod(2), close(2), creat(2), creat64(2), fcntl(2), lseek(2), lseek64(2),
mknod(2), read(2), stat(2), stat64(2), umask(2), write(2).
Miscellaneous topics: acl(5).
527186-023 Hewlett-Packard Company 525