Skip to main content

kill

Function kill 

Source
pub fn kill(pid: i32, sig: i32) -> Result<(), CoreError>
Expand description

Send a signal to a process (libc kill(2)), re-exported so callers need not depend on libc directly. pid is the usual kill semantics: >0 a single process, 0 the calling process group, -1 the caller’s group.