mkfifo(1)mkfifo(1)NAMEmkfifo - make FIFO (named pipe) special files
SYNOPSIS
mode] filename ...
DESCRIPTION
creates the FIFO special files named by its operand list. The operands
are taken sequentially in the order specified and, if the user has
write permission in the appropriate directory, the FIFO is created with
permissions 0666 modified by the user's file mode creation mask (see
umask(2)).
The specific actions performed are equivalent to calling
for each filename in the operand list (see mkfifo(3C)).
Options
recognizes the following command-line options:
After creating the
FIFO special file, set the permission bits of the
new file to the specified mode value. The mode
option argument is a symbolic mode string as
defined in chmod(1).
In the symbolic mode strings, the operators and
will be interpreted relative to an initial mode
of a=rw.
Create any missing intermediate path name components.
EXTERNAL INFLUENCES
For information about the UNIX standard environment, see standards(5).
Environment Variables
determines the locale to use for the locale categories when both and
the corresponding environment variable (beginning with do not specify a
locale. If is not specified or is set to the empty string, a default
of "C" (see lang(5)) is used.
determines the locale to use to override any values for locale cate‐
gories specified by the settings of or any environment variables begin‐
ning with
determines the locale for the interpretation of sequences of bytes of
text data as characters (e.g., single- versus multibyte characters in
arguments).
If any internationalization variable contains an invalid setting,
behaves as if all internationalization variables are set to "C". See
environ(5).
International Code Set Support
Single-byte character code sets are supported.
RETURN VALUE
returns zero if invoked with at least one operand and if all FIFO spe‐
cial files were created successfully. Otherwise, it prints a diagnos‐
tic message and returns non-zero.
EXAMPLES
The following command creates a FIFO special file named in the current
directory:
SEE ALSOchmod(1), umask(1), mknod(1M), mkfifo(3C), standards(5).
STANDARDS CONFORMANCEmkfifo(1)