ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



MKFIFO(1)                 BSD General Commands Manual                MKFIFO(1)

NAME
     mkfifo -- make fifos

SYNOPSIS
     mkfifo [-m mode] fifo_name ...

DESCRIPTION
     mkfifo creates the fifos requested, in the order specified.  By default, the resulting fifos have mode
     0666 (rw-rw-rw-), limited by the current umask(2).

     The options are as follows:

     -m      Set the file permission bits of newly-created fifos to mode, without respect to the current
             umask.

             The mode is specified as in chmod(1).  In symbolic mode strings, the ``+'' and ``-'' operators
             are interpreted relative to an assumed initial mode of ``a=rw''

     mkfifo requires write permission in the parent directory.

     mkfifo exits with 0 if successful, and with >0 if an error occurred.

LEGACY DESCRIPTION
     In legacy mode, the fifo's file permission bits are always limited by the current umask.

     For more information about legacy mode, see compat(5).

SEE ALSO
     mkdir(1), rm(1), umask(1), mkfifo(2), umask(2), compat(5), mknod(8)

STANDARDS
     The mkfifo utility is expected to be IEEE Std 1003.2-1992 (``POSIX.2'') compliant.

HISTORY
     mkfifo command appeared in 4.4BSD.

4.4BSD                          January 5, 1994                         4.4BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.