Home | History | Annotate | Download | only in libutil

Lines Matching defs:tio

66     struct termios tio;
74 tcgetattr(0, &tio);
75 tio.c_iflag &= ~ICRNL;
76 tio.c_iflag |= IGNCR;
77 tio.c_lflag &= ~(ISIG | ICANON | ECHO);
78 if (!tio.c_oflag & OPOST)
79 tio.c_oflag = 0;
80 tio.c_oflag |= OPOST | ONLCR;
81 tio.c_cc[VMIN] = 0;
82 tio.c_cc[VTIME] = 1; /* Don't 100% busy-wait in Linux */
83 tcsetattr(0, TCSAFLUSH, &tio);
88 struct termios tio, rtio;
91 tcgetattr(fd, &tio);
99 tcsetattr(fd, 0, &tio);