Lines Matching refs:ttyb
144 TTY ttyb;
153 rc = tcgetattr(fd, &ttyb);
160 ttyb.c_iflag = 0; /* input modes */
161 ttyb.c_oflag = 0; /* output modes */
162 ttyb.c_cflag = IBAUD|CS8|CLOCAL; /* control modes (no read) */
163 ttyb.c_lflag = 0; /* local modes */
164 ttyb.c_cc[VMIN] = 0; /* min chars */
165 ttyb.c_cc[VTIME] = 5; /* receive timeout */
166 cfsetispeed(&ttyb, (u_int)speed);
167 cfsetospeed(&ttyb, (u_int)speed);
168 rc = tcsetattr(fd, TCSANOW, &ttyb);