Function lrs::signal::block_signal

Blocks a signal from this thread.

Syntax

fn block_signal(sig: Signal) -> Result<Sigset, Errno>

Arguments

NameDescription
sig

The signal to block.

Return value

Returns of signals that were blocked before the call.

See also