Lines Matching defs:cm
50 #define ISCOMPCPIO ((unsigned char) cm.c_mag[0] == m_h[0] && \
51 (unsigned char) cm.c_mag[1] == m_h[1] && \
52 (MASK_CK((unsigned char) cm.c_mag[2], BLOCK_MASK) || \
53 MASK_CK((unsigned char) cm.c_mag[2], BIT_MASK)))
55 #define ISCPIO (cm.b_mag != CMN_BIN && \
56 (strcmp(cm.c_mag, CMS_ASC) == 0) && \
57 (strcmp(cm.c_mag, CMS_CHR) == 0) && \
58 (strcmp(cm.c_mag, CMS_CRC) == 0))
169 } cm;
191 if (read(fd, cm.c_mag, sizeof (cm.c_mag)) !=
192 sizeof (cm.c_mag)) {