Lines Matching defs:termios
83 struct termios termios;
85 if (ioctl(fd, TCGETS, &termios) == -1) {
106 termios.c_iflag &= 0xffff0000;
107 termios.c_cflag &= ~(CSIZE|PARENB);
108 termios.c_cflag |= CREAD|HUPCL|(CS8&CSIZE);
109 termios.c_lflag &= ~(ISIG|ICANON|ECHO|ECHOE|ECHOK);
110 termios.c_oflag &= 0xffff0000;
112 termios.c_cc[VMIN] = 5;
113 termios.c_cc[VTIME] = 1;
114 cfsetospeed(&termios, B2400);
116 if (ioctl(fd, TCSETSF, &termios) == -1) {