mkfifo(1M)


mkfifo -- make FIFO special file

Synopsis

mkfifo [-m mode] file . . .

Description

mkfifo 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.

For each file argument, the mkfifo command behaves as if the function mkfifo (see mkfifo(3C)) was called with the argument file set to file and the mode set to the bitwise inclusive OR of S_IRUSR, S_IWUSR, S_IRGRP, S_IWGRP, S_IROTH and S_IWOTH (unless the -m option is specified).

If errors are encountered in creating one of the special files, mkfifo writes a diagnostic message to the standard error and continues with the remaining arguments, if any.

Command options


-m mode
Specifies the mode to be used for the new FIFO special files. Choices for mode can be found in chmod(1).

Files


/usr/lib/locale/locale/LC_MESSAGES/uxsysadm
language-specific message file (see LANG on environ(5)).

Diagnostics

mkfifo returns exit code of 0 if all FIFO special files were created normally; otherwise it prints a diagnostic and returns a value greater than 0.

References

mkfifo(3C)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004