pub fn waitid(id: Id, flags: WaitPidFlag) -> Result<WaitStatus>
Wait for a process to change status
See also waitid(2)