创建命名管道。只带一个选项参数,主要是调用了系统调用 int fail = mkfifo (argv[optind], newmode); 其它也就没什么了。 若传入了-m选项,就再 chmod (argv[optind], newmode); 真没有什么可说的。