Lines Matching refs:termio
76 static struct termio termio, save_io;
219 * run_ptest() - setup the various termio structure values and issue
227 termio.c_line = 0;
230 termio.c_cflag = B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL;
236 termio.c_cc[i] = CSTART;
240 termio.c_lflag =
244 termio.c_iflag =
249 termio.c_oflag = OPOST | OLCUC | ONLCR | ONOCR;
251 TEST(ioctl(parentfd, TCSETA, &termio));
259 /* Get termio and see if all parameters actually got set */
260 rval = ioctl(parentfd, TCGETA, &termio);
290 if (termio.c_line != 0) {
292 termio.c_line);
303 if (termio.c_cflag != (B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL)) {
305 termio.c_cflag);
312 if (termio.c_cc[VEOL2] == CNUL) {
317 termio.c_cc[i], CNUL);
323 if (termio.c_cc[i] != CSTART) {
325 "value %d.", i, termio.c_cc[i]);
331 (termio.c_lflag
334 termio.c_lflag);
339 (termio.c_iflag
343 termio.c_iflag);
347 if (!(termio.c_oflag && (OPOST | OLCUC | ONLCR | ONOCR))) {
349 termio.c_oflag);
354 tst_resm(TINFO, "termio values are set as expected");