Open System Services System Calls Reference Manual (G06.25+, H06.03+)

creat(2) OSS System Calls Reference Manual
The function attempted to open a le in the Guardian le system, but the
specied pathname cannot be mapped to a valid Guardian lename.
The path parameter species a le on a remote HP NonStop node, but
communication with the remote node has been lost.
[ENOMEM] The system has insufcient resources to allow another open le.
[ENOROOT] The root leset (leset 0) is not in the STARTED state.
[ENOSPC] The directory that would contain the new le cannot be extended, and the le
does not exist.
[ENOTDIR] A component of the pathname prex is not a directory.
[ENXIO] One of these conditions exists:
The named le is a character special le, and the device associated with
this special le does not exist.
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 socket) and
cannot be opened.
[EOSSNOTRUNNING]
A required system process is not running.
[EPERM] One of these conditions exists:
The 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 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.
Refer to the Guardian Procedure Errors and Messages Manual for more information about a
specic Guardian le-system error.
RELATED INFORMATION
Functions: chmod(2), close(2), fcntl(2), lseek(2), mknod(2), open(2), read(2), stat(2),
umask(2), write(2).
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.
136 Hewlett-Packard Company 527186-003