Skip to main content

is_alive

Function is_alive 

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

Check whether a process with the given PID is still running.

Routed through signal_target like every signal path: 0 and values above i32::MAX are never probed and answer false; this process and PID 1 answer true without a syscall.