MKFIFO(1) General Commands Manual MKFIFO(1)
NAME
mkfifo — make FIFO
special files
SYNOPSIS
mkfifo |
[-m mode] file... |
DESCRIPTION
The mkfifo utility will create the FIFO
special files specified by the operands, in the order specified.
For each
file operand, the
mkfifo utility will perform actions equivalent to
the XSH
specification
mkfifo()
function, called with the following arguments:
- The file operand is used as the path argument.
- 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
-moption is specified, the mode option-argument overrides this default.)
OPTIONS
The mkfifo utility supports the XBD
specification,
Utility
Syntax Guidelines .
The following option is supported:
- -m mode
- Set the file permission bits of the newly-created FIFO to the specified mode value. The mode option-argument will be the same as the mode operand defined for the chmod(1) utility. In the symbolic_mode strings, the op characters "+" and "-" will be interpreted relative to an assumed initial mode of a=rw.
OPERANDS
The following operand is supported:
- file
- A pathname of the FIFO special file to be created.
STDIN
Not used.
INPUT FILES
None.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of
mkfifo :
LANG- Provide a default value for the internationalisation variables that are
unset or null. If
LANGis unset or null, the corresponding value from the implementation-dependent default locale will be used. If any of the internationalisation 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 internationalisation 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).
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 catalogues for the processing of LC_MESSAGES .
ASYNCHRONOUS EVENTS
Default.
STDOUT
Not used.
STDERR
Used only for diagnostic messages.
OUTPUT FILES
None.
EXTENDED DESCRIPTION
None.
EXIT STATUS
The following exit values are returned:
CONSEQUENCES OF ERRORS
Default.
APPLICATION USAGE
None.
EXAMPLES
None.
FUTURE DIRECTIONS
None.
SEE ALSO
February 1997 posix.fail