Searched refs:WMASK (Results 1 – 2 of 2) sorted by relevance
412 #define WMASK (0xff) macro414 #define is_option(s,x) ((s)->v[((x)&WMASK)/WBITS] & (1L << ((x) % WBITS)))415 #define on_option(s,x) ((s)->v[((x)&WMASK)/WBITS] |= (1L << ((x) % WBITS)))416 #define off_option(s,x) ((s)->v[((x)&WMASK)/WBITS] &= ~(1L << ((x) % WBITS)))
140 #define WMASK(fd) (fd == Cn ? line_mask : term_mask) macro1506 *(Wiop[wfd]++) = _Cxc & WMASK(fd); /* mask off appropriate bits */ in w_char()