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)