Lines Matching refs:tios
1276 struct termios tios; local
1295 if (tcgetattr(fd, &tios) < 0) {
1299 inittermios = tios;
1313 tios.c_cflag &= ~(CSIZE | CSTOPB | PARENB | CLOCAL);
1315 tios.c_cflag |= CRTSCTS | CRTSXOFF;
1317 tios.c_cflag &= ~CRTSCTS & ~CRTSXOFF;
1319 tios.c_cflag |= CS8 | CREAD | HUPCL;
1321 tios.c_cflag |= CLOCAL;
1323 tios.c_iflag = IGNBRK | IGNPAR;
1324 tios.c_oflag = 0;
1325 tios.c_lflag = 0;
1326 tios.c_cc[VMIN] = 1;
1327 tios.c_cc[VTIME] = 0;
1330 tios.c_iflag |= IXON | IXOFF;
1331 tios.c_cc[VSTOP] = 0x13; /* DC3 = XOFF = ^S */
1332 tios.c_cc[VSTART] = 0x11; /* DC1 = XON = ^Q */
1336 (void) cfsetospeed(&tios, speed);
1337 (void) cfsetispeed(&tios, speed);
1339 speed = cfgetospeed(&tios);
1349 if (tcsetattr(fd, TCSAFLUSH, &tios) < 0) {