waitpid

  • 网络子进程
waitpidwaitpid
  1. You can use waitpid () in Linux if you want to just wait infinitely for the process to die .

    在Linux中,如果您希望无限期等待进程被杀死,则可以使用waitpid()。

  2. In Linux , there is no way to do a timed wait on a waitpid () call .

    在Linux中,使用waitpid()调用无法等待限定的时间。

  3. ECHILD & The wait () or waitpid () function tried to wait for a child process to exit , but all children have already exited .

    ECHILD:wait()或waitpid()函数尝试等待退出子进程,但所有子项都已经退出。