mkfifo 中文man页面

系统
mkfifo 使用指定的文件名创建FIFO(也称为"命名管道").

NAME(名称)

mkfifo - 创建FIFO(命名管道)  

SYNOPSIS(总览)

mkfifo [options] file...

POSIX options(选项): [-m mode]

GNU options(选项)(最短格式): [-m mode] [--help] [--version] [--]  

DESCRIPTION(描述)

mkfifo 使用指定的文件名创建FIFO(也称为"命名管道").

"FIFO"是一种特殊的文件类型,它允许独立的进程通讯. 一个进程打开FIFO文件进行写操作,而另一个进程对之进行读操作, 然后数据便可以如同在shell或者其它地方常见的的匿名管道一样流线执行.

默认情况下,创建的FIFO的模式为0666('a+rw')减去umask中设置的位.  

OPTIONS(选项)

-m mode, --mode=mode
设置创建的FIFO的模式为 mode, 这可以是 chmod(1) 中的符号模式,并使用默认模式作为起始点.

GNU STANDARD OPTIONS(GNU标准选项)

--help
在标准输出上打印一条用法信息,并以成功状态退出.
--version
在标准输出上打印版本信息,然后以成功状态退出.
--
终止选项列表.

ENVIRONMENT(环境变量)

变量LANG, LC_ALL, LC_CTYPE和LC_MESSAGES取其常用义.  

CONFORMING TO(遵循规则)

POSIX 1003.2  

NOTES(备注)

本页介绍了包含在fileutils-4.0包中的 mkfifo ; 其他版本可能会有细微差别. 请把您的修正和增补建议发邮件到aeb@cwi.nl.报告程序中的bug请发到 fileutils-bugs@gnu.ai.mit.edu.

#p#

NAME

mkfifo - make FIFOs (named pipes)  

SYNOPSIS

mkfifo [OPTION] NAME...  

DESCRIPTION

Create named pipes (FIFOs) with the given NAMEs.

Mandatory arguments to long options are mandatory for short options too.

-Z, --context=CONTEXT
set security context (quoted string)
-m, --mode=MODE
set permission mode (as in chmod), not a=rw - umask
--help
display this help and exit
--version
output version information and exit

AUTHOR

Written by David MacKenzie.  

REPORTING BUGS

Report bugs to <bug-coreutils@gnu.org>.  

COPYRIGHT

Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  

SEE ALSO

The full documentation for mkfifo is maintained as a Texinfo manual. If the info and mkfifo programs are properly installed at your site, the command

info coreutils mkfifo

should give you access to the complete manual.

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-16 10:59:16

pwconv中文man

2011-08-19 18:30:52

ipc中文man

2011-08-25 17:18:07

putc中文man

2011-08-15 13:53:19

stat中文man

2011-08-25 15:24:31

execlp中文man

2011-08-15 18:06:07

restore中文man

2011-08-15 15:45:04

xpdf中文man

2011-08-24 17:06:42

NOTIFY中文man

2011-08-15 14:42:28

uname中文man

2011-08-15 11:30:37

pwd中文man

2011-08-23 14:24:42

ping中文man

2011-08-15 11:01:45

2011-08-25 17:15:16

printf中文man

2011-08-25 16:44:46

ftrylockfil中文man

2011-08-23 17:24:11

userdel中文man
点赞
收藏

51CTO技术栈公众号