Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libshell/common/include/
H A Ddefs.h412 #define WMASK (0xff) macro
414 #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)))
/titanic_41/usr/src/cmd/bnu/
H A Dcu.c140 #define WMASK(fd) (fd == Cn ? line_mask : term_mask) macro
1506 *(Wiop[wfd]++) = _Cxc & WMASK(fd); /* mask off appropriate bits */ in w_char()