pid_t wait (int * status); ... 如果在调用wait()时子进程已经结束,则wait()会立即返回 子进程结束状态值 ... [root@localhost src]# gcc waitpid.c.
確定! 回上一頁