Lines Matching refs:Ioctl
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,
237 if ((*Ioctl)(dcf, TCGETA, &ttbuf) != 0)
241 (void) (*Ioctl)(dcf, TCSETAW, &ttbuf);
250 (void) (*Ioctl)(fn, TCSBRK, 0);
269 if ((istermios = (*Ioctl)(Ifn, TCGETS, &tbufs)) < 0) {
270 if ((*Ioctl)(Ifn, TCGETA, &tbuf) != 0) {
324 if ((*Ioctl)(Ifn, TCSETAW, &tbuf) != 0)
328 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)
347 if ((*Ioctl)(Ifn, TCSETAW, &tbuf) != 0)
352 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)
365 if ((Saved_termios = (*Ioctl)(0, TCGETS, &Savettybs)) < 0) { in savline()
366 if ((*Ioctl)(0, TCGETA, &Savettyb) != 0) { in savline()
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);
448 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0)
452 ret = (*Ioctl)(tty, TCSETAW, &ttbuf);
463 return ((*Ioctl)(0, TCSETAW, &Savettyb)); in restline()
465 return ((*Ioctl)(0, TCSETSW, &Savettybs)); in restline()
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);
528 (void) (*Ioctl)(dcf, TIOCHPCL, STBNULL);
541 (void) (*Ioctl)(fn, TIOCSBRK, 0); in ttygenbrk()
544 (void) (*Ioctl)(fn, TIOCCBRK, 0); in ttygenbrk()
560 if ((*Ioctl)(0, TIOCGETP, &Savettyb) != 0) in savline()
574 return ((*Ioctl)(0, TIOCSETP, &Savettyb)); in restline()