Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MKFIFO(1)		     General Commands Manual		       MKFIFO(1)

NAME
     mkfifo -- make fifos

SYNOPSIS
     mkfifo [-m mode] fifo_name ...

DESCRIPTION
     The mkfifo utility creates the fifos requested, in the order specified.

     The options are as follows:

     -m      Set  the file permission bits of the created fifos to the specified
	     mode, ignoring the umask(2) of the calling process.  The mode argu-
	     ment takes any format that can be specified to  the  chmod(1)  com-
	     mand.   If  a symbolic mode is specified, the op symbols `+' (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 modi-
     fied by the umask(2) of the calling process.  The mkfifo  utility	requires
     write permission in the parent directory.

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

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

STANDARDS
     The mkfifo utility is expected to be IEEE Std 1003.2 ("POSIX.2") compliant.

HISTORY
     The mkfifo command appeared in 4.4BSD.

FreeBSD ports 15.1		 January 5, 1994		       MKFIFO(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mkfifo&sektion=1&manpath=FreeBSD+15.1-RELEASE+and+Ports>

home | help