Open System Services System Calls Reference Manual (G06.25+, H06.03+)
creat(2) OSS System Calls Reference Manual
• The function attempted to open a file in the Guardian file system, but the
specified pathname cannot be mapped to a valid Guardian filename.
• The path parameter specifies a file on a remote HP NonStop node, but
communication with the remote node has been lost.
[ENOMEM] The system has insufficient resources to allow another open file.
[ENOROOT] The root fileset (fileset 0) is not in the STARTED state.
[ENOSPC] The directory that would contain the new file cannot be extended, and the file
does not exist.
[ENOTDIR] A component of the pathname prefix is not a directory.
[ENXIO] One of these conditions exists:
• The named file is a character special file, and the device associated with
this special file does not exist.
• The fileset containing the client’s current working directory or root
directory is not mounted.
[EOPNOTSUPP]
The named file is a socket bound to the file 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 file named lost+found in the root directory
of an OSS fileset.
• The call attempted to create a file in the /E directory.
[EROFS] The named file resides on a read-only fileset, and write access is required.
[ETXTBSY] The file is being executed.
For all other error conditions, errno is set to the appropriate Guardian file-system error number.
Refer to the Guardian Procedure Errors and Messages Manual for more information about a
specific Guardian file-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 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.
1−36 Hewlett-Packard Company 527186-003