Function rustix::process::kill_current_process_group

pub fn kill_current_process_group(sig: Signal) -> io::Result<()>
Documentation

kill(0, sig)—Sends a signal to all processes in the current process group.

References