summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/sunos-4.1.3/__signal.h
blob: f8b4fb8b6de4a0e84e73cd867ae3a4eb8220423b (plain)
1
2
3
4
5
6
7
8
9
10
11

#include <sys/signal.h>
#include <sys/stdtypes.h>

typedef int sig_atomic_t;

#define __SIGFILLSET        0xffffffff
#define __SIGEMPTYSET       0
#define __SIGADDSET(s,n)    ((*s) |= (1 << ((n) - 1)))
#define __SIGDELSET(s,n)    ((*s) &= ~(1 << ((n) - 1)))
#define __SIGISMEMBER(s,n)  ((*s) & (1 << ((n) - 1)))