mkfifo - Create a FIFO (named pipe)

SYNOPSIS (Overview)

mkfifo [options] file...

POSIX options (Option): [-m the MODE ]

GNU options (Option) (the shortest format): [-m the MODE ] [--help] [--version] [-]

DESCRIPTION (description)

mkfifo specified file name to create a FIFO (also called "named pipes").

"FIFO" is a special type of file, which allows separate process communication. A process opens FIFO file for writing, and another process for the read operation, then the data will be like in the shell or other places of common Like anonymous pipeline execution flow.

By default, the pattern is created FIFO 0666 ( 'a + rw') minus the bits set in umask.

OPTIONS (option)

-m fashion , --mode = fashion
FIFO set to create a model for the MODE , which can be chmod (1) in symbolic mode, and uses the default mode as a starting point.

GNU STANDARD OPTIONS (GNU standard options)

--help
Print a usage message on standard output and exit with a successful status.
--version
Print version information on standard output, then exit with a successful status.
--
Termination option list.

ENVIRONMENT (environment variables)

Variables LANG, LC_ALL, LC_CTYPE and LC_MESSAGES whichever is common sense. 

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11089439.html