Function nix::sys::signal::killpg[][src]

pub fn killpg<T: Into<Option<Signal>>>(pgrp: Pid, signal: T) -> Result<()>

Send a signal to a process group (see killpg(3)).

If pgrp less then or equal 1, the behavior is platform-specific. If signal is None, killpg will only preform error checking and won’t send any signal.