创建有名管道, 会在对应目录生成一个指定的管道文件 mkfifo 打开: open O_WRONLY O_NONBLOCK O_RDONLY 读写:read write 关闭:close 注:详细可查手册: man