pub const SYS_PROC_WAITPID: usize = 310;Expand description
Wait for a specific child process to change state.
pid: child PID to wait for (-1 = any child)status_ptr: pointer to receive exit statusoptions:WNOHANG,WUNTRACED,WCONTINUEDflags
Returns the child PID, or -ECHILD if no children exist.