Linux学习笔记-标准库中的管道操作理论例子
目录 理论例子理论stdio.h里面有标志库管道操作FILE *popen(const char* cmdstring, const char *type);返回值:成功返回文件指针,出错返回NULL; int pclose(FILE *fp);返回值:cmdstring的终止状态,出错返回-1 注意:使用pepen()创建管道必须使用pclose()关闭!...