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

open(2) OSS System Calls Reference Manual
[EOSSNOTRUNNING]
A required system process is not running.
[EOVERFLOW]
The file size is larger than approximately 2 gigabytes.
[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), open64(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 define. These features
are affected in the HP implementation:
The O_RDWR ag is supported for FIFO files.
The group ID of the new file is determined by the value of the O_ISGID flag in the
parent directory.
The O_NONBLOCK flag is ignored for regular disk files and directory files.
The O_NOCTTY flag is ignored for regular disk files and directory files.
The O_CREAT flag is ignored for FIFOs and tty files.
If the O_CREAT flag is specified and bits other than the file permission and appropriate
file type flags are set in the mode parameter, errno is set to [EINVAL].
If the O_TRUNC flag is specified and the O_RDONLY access flag is specified, the open
fails.
The O_TRUNC flag is ignored for files other than regular files.
Attempting to open an OSS directory with an access ag of O_WRONLY or O_RDWR
fails.
514 Hewlett-Packard Company 527186-023