APUE-分页读取文件

#include "ourhdir.h" #include <sys/wait.h> // waitpid #include <sys/types.h> // pid_t #define DFL_PAGER "/usr/bin/more" // 默认的分页命令 int main(int argc, char *argv[]) { int fd[2]; // 使用全双工管道,父进程写入
相关文章
相关标签/搜索