sigset_new#
Create a POSIX::SigSet object, optionally pre-populated with the given signal numbers.
Synopsis#
use POSIX qw(SIGINT SIGTERM);
my $set = POSIX::SigSet->new(SIGINT, SIGTERM);
What you get back#
A blessed POSIX::SigSet reference, with sigemptyset applied
first and then each argument added via sigaddset.
Differences from upstream#
Fully compatible with upstream POSIX.
See also#
addset,delset,emptyset,fillset,ismember— mutate or query the set.sigprocmask— install aSigSetas the process mask.