blob: 918955c994849074cbe5afe0e762646021565fc9 (
plain)
1
2
3
4
5
6
7
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)
|