pub fn waitpid<P>(
    pid: P,
    options: Option<WaitPidFlag>
) -> Result<WaitStatus, Errno>where
    P: Into<Option<Pid>>,
Expand description

Wait for a process to change status

See also waitpid(2)