Verifies that a signal is in a signal set.
#include <signal.h> int sigismember ( const sigset_t *set, int sig);
(IN) Points to the signal set.
(IN) Points to the signal to test for in the signal set. For a list of signals, see Section 5.1, Standard Signals.
If the signal is in the set, returns 1. If the signal is not in the set, returns 0. If an error occurs, returns -1 and sets errno to the following:
You must call either sigemptyset or sigfillset at least once to initialized each object of type sigset_t before calling sigismember or any of the other functions which manage the signal set.