Changes or examines a thread's signal mask.
#include <thread.h> #include <signal.h> int thr_sigsetmask ( int how, const sigset_t *set, sigset_t *oset);
(IN) Specifies how the set is changed with one of the following flags:
(IN) Points to the signal set with the signals to add or remove. The set should be an application-defined set of signals. Most standard POSIX signals are not currently supported on NetWare. For the few that are supported, see Standard Signals.
If NULL, the how parameter is ignored and the function returns the current value of the signal set in the oset parameter.
(OUT) Points to the current signal set if the set parameter is NULL. If the set parameter is not NULL, points to the previous value of the signal set.
If successful, returns 0. Otherwise returns a nonzero error code.