Interix provides the following POSIX functions for manipulating the signal set:
int sigemptyset(sigset_t * set);
int sigfillset(sigset_t * set);
int sigaddset(sigset_t * set, int signo);
int sigdelset(sigset_t * set, int signo);
int sigismember(const sigset_t * set, int signo);
You can manipulate the signal mask by using sigpprocmask(), as shown in the following example:
int sigprocmask(int how, sigset_t * set, sigset_t *oset);
You can determine whether a signal is pending by using sigpending(), as shown in the following example:
int sigpending(sigset_t * set);