fn waitpid(pid: pid_t, flags: u32) WaitPidResult

Use this version of the waitpid wrapper if you spawned your child process using explicit fork and execve method.

Parameters

pid: pid_t,
flags: u32,