Skip to main content

is_process_alive

Function is_process_alive 

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

Checks whether the process with the given PID is still alive.

Uses kill(pid, 0) — signal 0 checks existence without delivering a signal.