Lines Matching refs:tty
118 fixline(tty, spwant, type) in fixline() argument
119 int tty, spwant, type; in fixline()
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,
394 sytfixline(tty, spwant) in sytfixline() argument
395 int tty, spwant; in sytfixline()
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) in sytfix2line() argument
443 int tty; in sytfix2line()
448 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0)
452 ret = (*Ioctl)(tty, TCSETAW, &ttbuf);
486 fixline(tty, spwant, type) in fixline() argument
487 int tty, spwant, type; in fixline()
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);