Skip to main content

pid_alive

Function pid_alive 

Source
pub fn pid_alive(pid: u32) -> bool
Expand description

True when pid is still running. Signal 0 does not deliver a signal.

0 is the current process group. A value above i32::MAX becomes -1 in kill, and -1 means every process the caller may signal.