进程系统调用函数

fork

pid_t fork(void);
返回值: 0: 子进程    
子进程  PID(大于0 的整数): 父进程
getpid()
getppid()
posted @ 2016-11-01 21:33  小小步伐  阅读(214)  评论(0编辑  收藏  举报