Lines Matching defs:termios
40 struct termios termios;
54 #endif /* termios */
59 (e.g. sco) have also added termios. Even if not, trying to figure out
122 if (tcgetattr (scb->fd, &state->termios) < 0)
152 if (tcsetattr (scb->fd, TCSANOW, &state->termios) < 0)
228 termio and termios have no such restriction; for them flushing input
258 (int) state->termios.c_iflag,
259 (int) state->termios.c_oflag);
261 (int) state->termios.c_cflag,
262 (int) state->termios.c_lflag);
266 fprintf_filtered (stream, "c_line = 0x%x.\n", state->termios.c_line);
270 fprintf_filtered (stream, "0x%x ", state->termios.c_cc[i]);
410 state.termios.c_iflag = 0;
411 state.termios.c_oflag = 0;
412 state.termios.c_lflag = 0;
413 state.termios.c_cflag &= ~(CSIZE | PARENB);
414 state.termios.c_cflag |= CLOCAL | CS8;
418 state.termios.c_cflag |= CRTSCTS;
420 state.termios.c_cflag &= ~CRTSCTS;
423 state.termios.c_cflag |= CRTS_IFLOW;
425 state.termios.c_cflag &= ~CRTS_IFLOW;
428 state.termios.c_cc[VMIN] = 0;
429 state.termios.c_cc[VTIME] = 0;
523 state.termios.c_cc[VTIME] = 0;
524 state.termios.c_cc[VMIN] = 1;
528 state.termios.c_cc[VMIN] = 0;
529 state.termios.c_cc[VTIME] = timeout * 10;
530 if (state.termios.c_cc[VTIME] != timeout * 10)
538 state.termios.c_cc[VTIME] = scb->current_timeout * 10;
833 cfsetospeed (&state.termios, baud_code);
834 cfsetispeed (&state.termios, baud_code);
878 state.termios.c_cflag &= ~CSTOPB;
880 state.termios.c_cflag |= CSTOPB; /* two bits */