Function nix::sys::signal::killpg
pub fn killpg<T: Into<Option<Signal>>>(pgrp: Pid, signal: T) -> Result<()>The portability is definied by:
#[cfg(not(target_os = "fuchsia"))]Documentation
Send a signal to a process group
Arguments
pgrp- Process group to signal. If less then or equal 1, the behavior is platform-specific.signal- Signal to send. IfNone,killpgwill only preform error checking and won’t send any signal.
See Also killpg(3).