摘要: 0、FILE *popen(const char *command, const char *type); popen 函数相当于做了以下几件事: 1、创建一个无名管道文件 2、 fork() 3、在子进程里, exec command 4、 在子进程里, 若 type == “r” , 相当于进行 阅读全文
posted @ 2015-02-21 20:56 小爷 阅读(1648) 评论(0) 推荐(0) 编辑