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-25 15:39:42

fcloseall中文man

2011-08-25 15:00:15

cfgetispeed中文man

2011-08-19 18:35:50

issue中文man

2011-08-25 17:03:51

pclose中文man

2011-08-25 17:40:25

setvbuf中文man

2011-08-23 14:21:16

poweroff中文man

2011-08-24 15:52:59

intro中文man

2011-08-23 13:40:31

2011-08-25 15:54:08

ferror中文man

2011-08-25 14:40:27

basename中文man

2011-08-25 17:24:54

puts中文man

2011-08-25 18:34:55

ungetc中文man

2011-08-23 10:03:40

useradd中文man

2011-08-23 10:29:02

chpasswd中文man

2011-08-23 10:34:22

convertquot中文man

2011-08-23 15:39:34

rpmbuild中文man
点赞
收藏

51CTO技术栈公众号