Lines Matching defs:targ
1087 int *targ = (int *)arg;
1089 *targ = 0;
1091 *targ |= CHR_TIOCM_CTS;
1093 *targ |= CHR_TIOCM_CAR;
1095 *targ |= CHR_TIOCM_DSR;
1097 *targ |= CHR_TIOCM_RI;
1099 *targ |= CHR_TIOCM_DTR;
1101 *targ |= CHR_TIOCM_RTS;
1107 int targ = 0;
1108 ioctl(s->fd_in, TIOCMGET, &targ);
1109 targ &= ~(CHR_TIOCM_CTS | CHR_TIOCM_CAR | CHR_TIOCM_DSR
1112 targ |= TIOCM_CTS;
1114 targ |= TIOCM_CAR;
1116 targ |= TIOCM_DSR;
1118 targ |= TIOCM_RI;
1120 targ |= TIOCM_DTR;
1122 targ |= TIOCM_RTS;
1123 ioctl(s->fd_in, TIOCMSET, &targ);