```{index} single: sigset_new; POSIX function ``` ```{index} single: POSIX::sigset_new; Perl function ``` # sigset_new Create a `POSIX::SigSet` object, optionally pre-populated with the given signal numbers. ## Synopsis ```perl 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 a `SigSet` as the process mask.