PROLOG | NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | STDIN | INPUT FILES | ENVIRONMENT VARIABLES | ASYNCHRONOUS EVENTS | STDOUT | STDERR | OUTPUT FILES | EXTENDED DESCRIPTION | EXIT STATUS | CONSEQUENCES OF ERRORS | APPLICATION USAGE | EXAMPLES | RATIONALE | FUTURE DIRECTIONS | SEE ALSO | COPYRIGHT |
MKFIFO(1P) POSIX Programmer's Manual MKFIFO(1P)
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
mkfifo — make FIFO special files
mkfifo [−m mode] file...
The mkfifo utility shall create the FIFO special files specified by the operands, in the order specified. For each file operand, the mkfifo utility shall perform actions equivalent to the mkfifo() function defined in the System Interfaces volume of POSIX.1‐2008, called with the following arguments: 1. The file operand is used as the path argument. 2. The value of the bitwise-inclusive OR of S_IRUSR, S_IWUSR, S_IRGRP, S_IWGRP, S_IROTH, and S_IWOTH is used as the mode argument. (If the −m option is specified, the value of the mkfifo() mode argument is unspecified, but the FIFO shall at no time have permissions less restrictive than the −m mode option- argument.)
The mkfifo utility shall conform to the Base Definitions volume of POSIX.1‐2008, Section 12.2, Utility Syntax Guidelines. The following option shall be supported: −m mode Set the file permission bits of the newly-created FIFO to the specified mode value. The mode option-argument shall be the same as the mode operand defined for the chmod utility. In the symbolic_mode strings, the op characters '+' and '−' shall be interpreted relative to an assumed initial mode of a=rw.
The following operand shall be supported: file A pathname of the FIFO special file to be created.
Not used.
*None. <-pre>