无名管道由pipe()函数创建: int pipe(int filedis[2]); 当一个管道建立时,它会创建两个文件描述符: filedis[0] 用于读管道, filedis[1] 用于写管道(不固定,也可倒过来) 通常 先创建一个管道,再通