OpenBSD manual page server

Manual Page Search Parameters

MKFIFO(1) General Commands Manual MKFIFO(1)

mkfifomake FIFOs

mkfifo [-m mode] fifo_name ...

mkfifo creates the FIFOs requested, in the order specified, using mode 0666 modified by the current umask(2). It requires write permission in the parent directory.

The options are as follows:

mode
Set the file permission bits of newly created FIFOs to mode. The mode argument can be in any of the formats specified to the chmod(1) utility. If a symbolic mode is specified, the operators ‘+’ and ‘-’ are interpreted relative to an initial mode of “a=rw”.

The mkfifo utility exits 0 on success, and >0 if an error occurs.

mkdir(1), rm(1), mkfifo(2), mknod(8)

The mkfifo utility is compliant with the IEEE Std 1003.1-2008 (“POSIX.1”) specification.

The mkfifo command appeared in 4.4BSD.

September 3, 2010 OpenBSD-5.3