diff options
Diffstat (limited to 'mit-pthreads/machdep/sunos-4.1.3/__signal.h')
-rwxr-xr-x | mit-pthreads/machdep/sunos-4.1.3/__signal.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/sunos-4.1.3/__signal.h b/mit-pthreads/machdep/sunos-4.1.3/__signal.h new file mode 100755 index 00000000000..f8b4fb8b6de --- /dev/null +++ b/mit-pthreads/machdep/sunos-4.1.3/__signal.h @@ -0,0 +1,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))) |