pub fn killpg<T>(pgrp: Pid, signal: T) -> Result<(), Errno> where
    T: Into<Option<Signal>>, 
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).