The sigsetops(3) functions allow the manipulation of POSIX signal sets.
sigemptyset initializes the signal set given by set to empty, with
all signals excluded from the set.
sigfillset initializes set to full, including all signals.
sigaddset and sigdelset add and delete respectively signal
signum from set.
sigismember tests whether signum is a member of set.