Searched refs:WMASK (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libshell/common/include/
H A Ddefs.h452 #define WMASK (0xff) macro
454 #define is_option(s,x) ((s)->v[((x)&WMASK)/WBITS] & (1L << ((x) % WBITS)))
455 #define on_option(s,x) ((s)->v[((x)&WMASK)/WBITS] |= (1L << ((x) % WBITS)))
456 #define off_option(s,x) ((s)->v[((x)&WMASK)/WBITS] &= ~(1L << ((x) % WBITS)))

Completed in 21 milliseconds