pub fn send_signal(pid: u32, signal: Signal) -> Result<()>Expand description
Send a Unix signal to the given PID.
On non-Unix targets this is a no-op that returns Ok(()).
ยงErrors
On Unix, returns an error if the PID is out of range or if kill(2) fails.