mkfifo(C)


mkfifo -- make a FIFO special file

Syntax

mkfifo [ -m mode ] path ...

Description

The mkfifo command makes a first-in first-out pipe named by the pathname path. The new FIFO has the permissions 666 (equivalent to a=rw). These permissions are possibly altered by umask(C).

The -m option specifies the creation mode for the FIFO file. mode may be in absolute or symbolic form; see chmod(C) for more details.

Exit values

mkfifo returns exit code 0 if all FIFO special files were created successfully. Otherwise, it prints a diagnostic and returns non-zero. An error code is stored in errno.

See also

mkfifo(S-osr5), umask(C)

Standards conformance

mkfifo is conformant with:

ISO/IEC DIS 9945-2:1992, Information technology - Portable Operating System Interface (POSIX) - Part 2: Shell and Utilities (IEEE Std 1003.2-1992);
X/Open CAE Specification, Commands and Utilities, Issue 4, 1992.


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005