MKFIFO(1) | General Commands Manual | MKFIFO(1) |
mkfifo
— make
fifos
mkfifo |
[-m mode]
fifo_name ... |
The mkfifo
utility creates the fifos
requested, in the order specified.
The options are as follows:
-m
+
’ (plus) and
‘-
’ (hyphen) are interpreted
relative to an assumed initial mode of
“a=rw
” (read and write permissions
for all).If the -m
option is not specified, fifos
are created with mode 0666
modified by the
umask(2) of the calling process. The
mkfifo
utility requires write permission in the
parent directory.
The mkfifo
utility exits 0 on
success, and >0 if an error occurs.
mkdir(1), rm(1), umask(1), mkfifo(2), mknod(2), umask(2), compat(5), mknod(8)
The mkfifo
utility is expected to be
IEEE Std 1003.2 (“POSIX.2”)
compliant.
The mkfifo
command appeared in
4.4BSD.
January 5, 1994 | macOS 15.0 |