System Administration Commands mkfifo(1M) NAME mkfifo - make FIFO special files (named pipes) SYNOPSIS /usr/bin/mkfifo /usr/bin/mkfifo [ options ] [file...] ksh93 mkfifo [ options ] [file...] DESCRIPTION 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 the standard error and continues with the remaining arguments, if any. The mkfifo utility calls the library routine mkfifo(3C), with the path argument is passed as the path argument from the command line, and mode is set to the equivalent of a=rw, modified by the current value of the file mode crea- tion mask umask(1). OPTIONS The following option is supported: -m, --mode=mode Set the mode of created FIFO to mode. mode is symbolic or octal mode as in chmod(1). Relative modes assume an initial mode of a=rw. --man, --html, --nroff Prints builtin manual page in either plain text, HTML or nroff format. --help Prints basic help information --version Prints version information OPERANDS The following operand is supported: file A path name of the FIFO special file to be created. USAGE See largefile(5) for the description of the behavior of mkfifo when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). ENVIRONMENT VARIABLES See environ(5) for descriptions of the following environment variables that affect the execution of mkfifo: LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and NLSPATH. EXIT STATUS The following exit values are returned: 0 All the specified FIFO special files were created successfully. >0 An error occurred. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWcsu | |_____________________________|_____________________________| | Interface Stability | Standard | |_____________________________|_____________________________| This command conforms to IEEE Std 1003.1-2008. SEE ALSO chmod(1), ksh93(1), umask(1), mknod(1m), mkfifo(3C), attributes(5), environ(5), largefile(5), standards(5), http://www.opengroup.org/onlinepubs/9699919799/utilities/mkfifo.html SunOS 5.10 Last change: 16 Sep 1996 2