Skip to main content

wait_pid

Function wait_pid 

Source
pub fn wait_pid(pid: i32, options: i32) -> Result<(i32, i32), i32>
Expand description

Host waitpid. Returns (pid, status) or Err(errno). pid == 0 with WNOHANG means no child ready.