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

System Functions (n - p) open64(2)
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.
For more information about a specic Guardian le-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).|
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to dene. These features
are affected in the HP implementation:
The O_RDWR ag is supported for FIFO les.
The group ID of the new le is determined by the value of the O_ISGID ag in the
parent directory.
The O_NONBLOCK ag is ignored for regular disk les and directory les.
The O_NOCTTY ag is ignored for regular disk les and directory les.
The O_CREAT ag is ignored for FIFOs and tty les.
If the O_CREAT ag is specied and bits other than the le permission and appropriate
le type ags are set in the mode parameter, errno is set to [EINVAL].
If the O_TRUNC ag is specied and the O_RDONLY access ag is specied, the open
fails.
527186-007 Hewlett-Packard Company 523