Lines Matching refs:termio
77 static struct termio termio, save_io; variable
228 termio.c_line = 0; in run_ptest()
231 termio.c_cflag = B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL; in run_ptest()
237 termio.c_cc[i] = CSTART; in run_ptest()
241 termio.c_lflag = in run_ptest()
245 termio.c_iflag = in run_ptest()
250 termio.c_oflag = OPOST | OLCUC | ONLCR | ONOCR; in run_ptest()
252 TEST(ioctl(parentfd, TCSETA, &termio)); in run_ptest()
261 rval = ioctl(parentfd, TCGETA, &termio); in run_ptest()
291 if (termio.c_line != 0) { in chk_tty_parms()
293 termio.c_line); in chk_tty_parms()
304 if (termio.c_cflag != (B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL)) { in chk_tty_parms()
306 termio.c_cflag); in chk_tty_parms()
313 if (termio.c_cc[VEOL2] == CNUL) { in chk_tty_parms()
318 termio.c_cc[i], CNUL); in chk_tty_parms()
324 if (termio.c_cc[i] != CSTART) { in chk_tty_parms()
326 "value %d.", i, termio.c_cc[i]); in chk_tty_parms()
332 (termio.c_lflag in chk_tty_parms()
335 termio.c_lflag); in chk_tty_parms()
340 (termio.c_iflag in chk_tty_parms()
344 termio.c_iflag); in chk_tty_parms()
348 if (!(termio.c_oflag && (OPOST | OLCUC | ONLCR | ONOCR))) { in chk_tty_parms()
350 termio.c_oflag); in chk_tty_parms()