Lines Matching defs:tty
106 * tty -> terminal name
118 fixline(tty, spwant, type)
119 int tty, spwant, type;
127 DEBUG(6, "fixline(%d, ", tty);
129 if ((istermios = (*Ioctl)(tty, TCGETS, &ttbufs)) < 0) {
130 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) {
223 ASSERT((*Ioctl)(tty, TCSETAW, &ttbuf) >= 0,
226 ASSERT((*Ioctl)(tty, TCSETSW, &ttbufs) >= 0,
387 * sytfixline(tty, spwant) set speed/echo/mode...
388 * int tty, spwant;
394 sytfixline(tty, spwant)
395 int tty, spwant;
403 if ((istermios = (*Ioctl)(tty, TCGETS, &ttbufs)) < 0) {
404 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) {
435 ret = (*Ioctl)(tty, TCSETAW, &ttbuf);
437 ret = (*Ioctl)(tty, TCSETAWS &ttbufs);
442 sytfix2line(tty)
443 int tty;
448 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0)
452 ret = (*Ioctl)(tty, TCSETAW, &ttbuf);
475 * fixline(tty, spwant, type) set speed/echo/mode...
476 * int tty, spwant;
486 fixline(tty, spwant, type)
487 int tty, spwant, type;
493 DEBUG(6, "fixline(%d, ", tty);
496 if ((*Ioctl)(tty, TIOCGETP, &ttbuf) != 0)
518 (void) (*Ioctl)(tty, TIOCSETP, &ttbuf);
519 (void) (*Ioctl)(tty, TIOCHPCL, STBNULL);
520 (void) (*Ioctl)(tty, TIOCEXCL, STBNULL);