
#define sigmask(m) (1 << ((m)-1)) Also sigismember is supposed to return 1 if the signal is a member of the mask, and 0 is it isn't.
#define sigmask(m) (1 << ((m)-1)) Also sigismember is supposed to return 1 if the signal is a member of the mask, and 0 is it isn't.