Lines Matching defs:termio
37 #include <termio.h>
53 * set_termio - set termio on device
55 * options - stty termio options
73 struct termio termio;
92 if ((term = get_ttymode(fd, &termio, &termios, &stermio,
121 if ((uarg = sttyparse(cnt, argvp, term, &termio, &termios,
129 if (set_ttymode(fd, term, &termio, &termios, &stermio,
146 struct termio termio;
151 if (ioctl(fd, TCGETA, &termio) != 0) {
156 termio.c_lflag |= (ISIG|ICANON|ECHO|ECHOE|ECHOK);
157 termio.c_cc[VEOF] = CEOF;
158 termio.c_cc[VEOL] = CNUL;
159 if (ioctl(fd, TCSETA, &termio) != 0) {
227 struct termio termio;
234 if (ioctl(fd,TCGETA,&termio) < 0) {
238 termio.c_cflag &= ~CBAUD;
239 termio.c_cflag |= B0;
241 if (ioctl(fd,TCSETA,&termio) < 0) {
286 log("initial termio on (%s) failed", pmptr->p_device);