set.h 326 B

123456789
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Id$ */
  6. #define BIS(sp,n) (sp)[(n)>>4] |= 1<<((n)&0xF)
  7. #define BIC(sp,n) (sp)[(n)>>4] &= ~(1<<((n)&0xF))
  8. #define BIT(sp,n) (((sp)[(n)>>4]&(1<<((n)&0xF)))!=0)