Searched refs:tios (Results 1 – 1 of 1) sorted by relevance
30 struct termios tios; in set_up_tty() local32 if (tcgetattr(fd, &tios) < 0) { in set_up_tty()38 tios.c_cflag = CS8 | CREAD | HUPCL | CLOCAL; in set_up_tty()39 tios.c_iflag = IGNBRK | IGNPAR; in set_up_tty()40 tios.c_oflag = 0; in set_up_tty()41 tios.c_lflag = 0; in set_up_tty()43 tios.c_cc[i] = 0; in set_up_tty()44 tios.c_cc[VMIN] = 1; in set_up_tty()45 tios.c_cc[VTIME] = 0; in set_up_tty()47 cfsetospeed(&tios, B38400); in set_up_tty()[all …]