Lines Matching refs:termio
73 struct termio termio; local
92 if ((term = get_ttymode(fd, &termio, &termios, &stermio,
121 if ((uarg = sttyparse(cnt, argvp, term, &termio, &termios,
129 if (set_ttymode(fd, term, &termio, &termios, &stermio,
146 struct termio termio; local
151 if (ioctl(fd, TCGETA, &termio) != 0) {
156 termio.c_lflag |= (ISIG|ICANON|ECHO|ECHOE|ECHOK);
157 termio.c_cc[VEOF] = CEOF;
158 termio.c_cc[VEOL] = CNUL;
159 if (ioctl(fd, TCSETA, &termio) != 0) {
227 struct termio termio; in hang_up_line() local
234 if (ioctl(fd,TCGETA,&termio) < 0) { in hang_up_line()
238 termio.c_cflag &= ~CBAUD; in hang_up_line()
239 termio.c_cflag |= B0; in hang_up_line()
241 if (ioctl(fd,TCSETA,&termio) < 0) { in hang_up_line()