Open System Services Library Calls Reference Manual (G06.27+, H06.04+)
mkfifo(3) OSS Library Calls Reference Manual
• The path parameter specifies a file on a remote HP NonStop server node
but communication with the remote node has been lost.
[ENOROOT] One of the following conditions exists:
• The root fileset of the local node (fileset 0) is not in the STARTED state.
• The current root fileset for the specified file is unavailable. The OSS
name server for the fileset might have failed.
• The specified file is on a remote HP NonStop server node and communi-
cation with the remote name server has been lost.
[ENOSPC] The directory that would contain the new file cannot be extended, or the file sys-
tem is out of file allocation resources.
[ENOTDIR] A component of the pathname prefix is not a directory.
[ENXIO] The fileset containing the client’s current working directory or root directory is
not mounted.
[EPERM] One of the following conditions exists:
• The call attempted to create a FIFO named lost+found in the root direc-
tory of an OSS fileset.
• The call attempted to create a FIFO in the /E directory.
[EROFS] The directory in which the file is to be created is located on a read-only fileset.
RELATED INFORMATION
Functions: chmod(2), mknod(2), open(2), stat(2), umask(2).
Commands: mkfifo(1), chmod(1).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to define. The following
features are affected in the HP implementation:
• If bits in the mode parameter other than the file permission bits or S_IFIFO are set,
mkfifo() fails and sets errno to [EINVAL].
• If the S_ISGID flag is set in the parent directory, the group ID of the new FIFO is set to
the group ID of the parent directory; otherwise, it is set to the effective group ID of the
calling process.
The following are HP extensions to the XPG4 Version 2 specification:
• The error values [EFSBAD], [EINVAL], [EIO], [ENOROOT], [ENXIO], and [EPERM]
can be returned.
4−130 Hewlett-Packard Company 527187-004