Method lrs::tty::Tty::signal

Sends a signal to the process group at the other end of a pseudo terminal.

Syntax

impl Tty {
    fn signal(&self, sig: Signal) -> Result<(), Errno>
}

Arguments

NameDescription
sig

The signal to send.

Remarks

Only Interrupted, Quit, and TermStop can be sent.

See also