... vfork创建一个子进程,以供执行新程序,常与execve等同时使用 wait等待子进程终止 waitpid等待指定子进程终止 ...
基于272个网页-相关网页
等待指定子进程终止 waitpid
等待子进程终止
Wait for the child process to terminate
以上为机器翻译结果,长、整句建议使用 人工翻译 。
在这段代码中:pid_t waitpid(pid_t pid, int *status, int options),waitpid() 会无限期等待子进程的终止。
In this code: pid_t waitpid(pid_t pid, int *status, int options), waitpid() infinitely waits for the child process to terminate.
youdao
应用推荐
模块上移
模块下移
不移动