Function lrs::signal::block_signals

Blocks a set of signals from this thread.

Syntax

fn block_signals(set: Sigset) -> Result<Sigset, Errno>

Arguments

NameDescription
set

The signals to block.

Return value

Returns of signals that were blocked before the call.

See also