MKFIFO(8) | Maintenance Commands and Procedures | MKFIFO(8) |
mkfifo - make FIFO special file
/usr/bin/mkfifo [-m mode] file...
mkfifo [ options ] file...
The mkfifo utility creates the FIFO special files named by its argument list. The arguments are taken sequentially, in the order specified; and each FIFO special file is either created completely or, in the case of an error or signal, not created at all.
If errors are encountered in creating one of the special files, mkfifo writes a diagnostic message to standard error and continues with the remaining arguments, if any.
The mkfifo utility calls the library routine mkfifo(3C), with a path argument equivalent to the file argument from the command line, and mode is set to the equivalent of a=rw, modified by the current value of the file mode creation mask umask(1).
The mkfifo utility creates one or more FIFOs. By default, the mode of the created FIFO is a=rw minus the bits set in umask(1).
The following option is supported for /usr/bin/mkfifo:
-m mode
The following option is supported for ksh93:
-m mode
--mode=mode
The following operand is supported:
file
See largefile(7) for the description of the behavior of mkfifo when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
See environ(7) for descriptions of the following environment variables that affect the execution of mkfifo: LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and NLSPATH.
The following exit values are returned:
0
>0
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard |
chmod(1), umask(1), mkfifo(3C), attributes(7), environ(7), largefile(7), standards(7)
June 24, 2020 | OmniOS |