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

creat(2) OSS System Calls Reference Manual
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to define. These features
are affected in the HP implementation:
The group ID of the new file is determined by the value of the O_ISGID flag in the
parent directory.
If bits other than the file permission and appropriate file-type flags are set in the mode
parameter, errno is set to [EINVAL].
The O_TRUNC flag is ignored for files other than regular files.
An attempt to open an OSS directory with creat() fails.
HP extensions to the XPG4 Version 2 specification are:
Opening Guardian files (that is, files in the /G file 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.
150 Hewlett-Packard Company 527186-023