Skip to main content

pid_alive

Function pid_alive 

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

Whether pid is alive: kill(pid, 0) succeeds, or fails with EPERM (alive but not ours).