nix::sys::wait

Function waitpid

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

Wait for a process to change status

See also waitpid(2)