scsh-0.6/scsh/aix/sigset.h

11 lines
341 B
C
Raw Normal View History

1999-11-12 10:24:02 -05:00
/* Convert between a lo24/hi integer-pair bitset and a sigset_t value.
** These macros are OS-dependent, and must be defined per-OS.
*/
#define make_sigset(maskp, hi, lo) ((maskp)->losigs=((hi)<<24)|(lo))
/* Not a procedure: */
#define split_sigset(mask, hip, lop) \
((*(hip)=(mask.losigs>>24)&0xff), \
(*(lop)=(mask.losigs&0xffffff)))