| Skip Navigation Links | |
| Exit Print View | |
![]() | man pages section 1M: System Administration Commands Oracle Solaris 11 Information Library |
- make FIFO special file
/usr/bin/mkfifo [-mmode]path...
Themkfifo utility creates the FIFO special files named by its argumentlist. The arguments are taken sequentially, in the order specified; and eachFIFO special file is either created completely or, in the case ofan error or signal, not created at all.
If errors are encountered in creating one of the special files,mkfifowrites a diagnostic message to the standard error and continues with theremaining arguments, if any.
Themkfifo utility calls the library routinemkfifo(3C), with thepath argumentis passed as thepath argument from the command line, andmode is set to the equivalent ofa=rw, modified by the currentvalue of the file mode creation maskumask(1).
The following option is supported:
Set the file permission bits of the newly-created FIFO to the specifiedmode value. Themode option-argument will be the same as themode operand defined for thechmod(1) command. In <symbolicmode> strings, theop characters+ and- will be interpreted relative to an assumed initial mode ofa=rw.
The following operand is supported:
A path name of the FIFO special file to be created.
Seelargefile(5) for the description of the behavior ofmkfifo when encounteringfiles greater than or equal to 2 Gbyte (231 bytes).
Seeenviron(5) for descriptions of the following environment variables that affect theexecution ofmkfifo:LANG,LC_ALL,LC_CTYPE,LC_MESSAGES, andNLSPATH.
The following exit values are returned:
All the specified FIFO special files were created successfully.
An error occurred.
Seeattributes(5) for descriptions of the following attributes:
|
chmod(1),umask(1),mkfifo(3C),attributes(5),environ(5),largefile(5),standards(5)
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.Legal Notices | ![]() ![]() |