摘要: NAME pipe, pipe2 - create pipeSYNOPSIS #include int pipe(int pipefd[2]); #define _GNU_SOURCE /* See feature_test_macros(7) */ #include /* Obtain O_* constant definitions */ #include int pipe2(int pipefd[2], int flags);DESCRIPTION ... 阅读全文
posted @ 2013-11-30 11:45 feiling 阅读(366) 评论(0) 推荐(0)
摘要: NAME fork - create a child processSYNOPSIS #include pid_t fork(void);RETURN VALUE On success, the PID of the child process is returned in the parent, and 0 is returned in the child. On failure, -1 is returned in the parent, no child process is created, and errn... 阅读全文
posted @ 2013-11-30 11:11 feiling 阅读(467) 评论(0) 推荐(0)