Function nix::sys::signal::killpg

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

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. If None, killpg will only preform error checking and won’t send any signal.

See Also killpg(3).