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

creat(2) OSS System Calls Reference Manual
The call attempted to create a le in the /E directory.
[EROFS] The named le resides on a read-only leset, and write access is required.
[ETXTBSY] The le is being executed.
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), creat64(2), fcntl(2), lseek(2), lseek64(2), mknod(2),|
open(2), open64(2), read(2), stat(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 group ID of the new le is determined by the value of the O_ISGID ag in the
parent directory.
If bits other than the le permission and appropriate le-type ags are set in the mode
parameter, errno is set to [EINVAL].
The O_TRUNC ag is ignored for les other than regular les.
An attempt to open an OSS directory with creat() fails.
HP extensions to the XPG4 Version 2 specication are:
Opening Guardian les (that is, les in the /G le system) is supported, as described
under Opening Guardian Files in DESCRIPTION.
The errno values [EFAULT], [EFILEBAD], [EFSBAD], [EGUARDIANOPEN], [EIO],
[ELOOP], [ENOTSUP], [EOSSNOTRUNNING], and [EPERM] can be returned.
144 Hewlett-Packard Company 527186-007