Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

mkfifo - make FIFO special files

&pagelevel(4)&pagelevel

mkfifo creates the FIFOs special files specified in its argument list.
For every file argument, the mkfifo command behaves as if the mkfifo function (see mkfifo [4]) was called with the following arguments:

  • the path argument of mkfifo[4] is set to file.

  • the mode argument of mkfifo[4] has the value 0666 or the value of mode if the -m option is specified.

If an error occurs during the creation of a FIFO special file, mkfifo writes a diagnostic message to the standard error output and then continues with the remaining arguments, if any.


Syntax


mkfifo[ -m mode] file...

No option specified

mkfifo creates the FIFO special files specified in file with the access rights 666, modified by the current file-creation mode mask (see section “umask get or set the file mode creation mask”).

-m mode

mkfifo creates the new FIFO special file with the access rights specified in mode (see section “chmod change file modes”). If specified symbolically, the operands + and - are interpreted relative to a default value of a=rw .

file

The name of the FIFO special file that you would like to create. You can specify a number of FIFOs.

Locale

The following environment variables affect the execution of du:

LANG

Provide a default value for the internationalization variables that are unset or null. If LANG is unset of null, the corresponding value from the implementation-specific default locale will be used. If any of the internationalization variables contains an invalid setting, the utility will behave as if none of the variables had been defined.

LC_ALL

If set to a non-empty string value, override the values of all the other internationalization variables.

LC_CTYPE

Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single- as opposed to multi-byte characters in arguments and input files), the classification of characters as upper- to lower-case, and the mapping of characters from one case to the other.

LC_MESSAGES

Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error.

NLSPATH

Determine the location of message catalogs for the processing of LC_MESSAGES.

See also

chmod, umask

mkfifo [4]