下面是一个简单的例子:#include#include#include#include#includeintmain(){intn,fd[2];pid_tpid;charbuffer[BUFSIZ+1];if(pipe(fd) 查看完整描述