POSIX::SigSet#

📦 min

Functions#

Signals#

new#

Create a POSIX::SigSet object, optionally pre-populated with the given signal numbers.

addset#

Add signal $sig to the set.

What you get back

"0 but true" on success, undef on failure.

Differences from upstream

Fully compatible with upstream POSIX.

delset#

Remove signal $sig from the set.

What you get back

"0 but true" on success, undef on failure.

Differences from upstream

Fully compatible with upstream POSIX.

emptyset#

Remove every signal from the set.

Differences from upstream

Fully compatible with upstream POSIX.

fillset#

Add every signal to the set.

Differences from upstream

Fully compatible with upstream POSIX.

ismember#

Test whether signal $sig is in the set.

What you get back

1 if the signal is a member, 0 if it is not, -1 on error.

Differences from upstream

Fully compatible with upstream POSIX.