Lines Matching refs:termio
62 struct termio termio; in set_termio() local
79 if ((term = get_ttymode(fd, &termio, &termios, &stermio, in set_termio()
107 if ((uarg = sttyparse(cnt, argvp, term, &termio, &termios, in set_termio()
115 if (set_ttymode(fd, term, &termio, &termios, &stermio, in set_termio()
131 struct termio termio; in turnon_canon() local
136 if (ioctl(fd, TCGETA, &termio) != 0) { in turnon_canon()
141 termio.c_lflag |= (ISIG|ICANON|ECHO|ECHOE|ECHOK); in turnon_canon()
142 termio.c_cc[VEOF] = CEOF; in turnon_canon()
143 termio.c_cc[VEOL] = CNUL; in turnon_canon()
144 if (ioctl(fd, TCSETA, &termio) != 0) { in turnon_canon()
208 struct termio termio; in hang_up_line() local
215 if (ioctl(fd, TCGETA, &termio) < 0) { in hang_up_line()
219 termio.c_cflag &= ~CBAUD; in hang_up_line()
220 termio.c_cflag |= B0; in hang_up_line()
222 if (ioctl(fd, TCSETA, &termio) < 0) { in hang_up_line()