waitpidwaitpid pid, flags Waits for a particular child process pid to terminate and
returns the pid when the process is dead, or On systems that implement neither theuse POSIX "sys_wait_h"; waitpid(2) nor the
wait4(2) system call, flags may be specified only as 0.
In other words, you can wait for a specific pid, but you can't do it in
non-blocking mode. |