Home
last modified time | relevance | path

Searched refs:sigword (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsigsetops.c55 #define sigword(n) ((n-1)/MAXBITNO) macro
69 return ((sigs.__sigbits[sigword(sig)] & bitmask(sig)) != 0); in sigvalid()
101 set->__sigbits[sigword(sig)] |= bitmask(sig); in sigaddset()
112 set->__sigbits[sigword(sig)] &= ~bitmask(sig); in sigdelset()
123 return ((set->__sigbits[sigword(sig)] & bitmask(sig)) != 0); in sigismember()
/illumos-gate/usr/src/uts/common/sys/
H A Dsignal.h261 #define sigword(n) (((unsigned int)((n) - 1))>>5) macro
277 #define sigaddset(s, n) ((s)->__sigbits[sigword(n)] |= sigmask(n))
278 #define sigdelset(s, n) ((s)->__sigbits[sigword(n)] &= ~sigmask(n))
279 #define sigismember(s, n) (sigmask(n) & (s)->__sigbits[sigword(n)])