摘要: pipe 函数 int pipe( int fd[2] ); 创建管道,半双工,字节流,容量默认65536字节。fd[0]用来读,fd[1]用来写。 可以用与父子进程间的无名管道,各自关闭一端。 int sockpair(int domain, int type, int protocol, int 阅读全文
posted @ 2018-02-21 16:33 张铁子 阅读(258) 评论(0) 推荐(0) 编辑