diff options
Diffstat (limited to 'lib/libpthread/include/sys/__signal.h')
-rw-r--r-- | lib/libpthread/include/sys/__signal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libpthread/include/sys/__signal.h b/lib/libpthread/include/sys/__signal.h new file mode 100644 index 00000000000..918955c9948 --- /dev/null +++ b/lib/libpthread/include/sys/__signal.h @@ -0,0 +1,8 @@ +#include <sys/signal.h> + +#define __SIGEMPTYSET 0 +#define __SIGFILLSET 0xffffffff +#define __SIGADDSET(s, n) (*(s) |= 1 << ((n) - 1), 0) +#define __SIGDELSET(s, n) (*(s) &= ~(1 << ((n) - 1)), 0) +#define __SIGISMEMBER(s, n) ((*(s) & (1 << ((n) - 1))) != 0) + |