waitpid 系统调用在Linux函数库中的原型是: ... pid=-1时,等待任何一个子进程退出,没有任何限制,此时waitpid和wait的作用一模一样。 ... gcc wait1.c -o wait1.
確定! 回上一頁