Lines Matching refs:Ioctl

130 	if ((istermios = (*Ioctl)(tty, TCGETS, &ttbufs)) < 0) {
131 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) {
224 ASSERT((*Ioctl)(tty, TCSETAW, &ttbuf) >= 0,
227 ASSERT((*Ioctl)(tty, TCSETSW, &ttbufs) >= 0,
238 if ((*Ioctl)(dcf, TCGETA, &ttbuf) != 0)
242 (void) (*Ioctl)(dcf, TCSETAW, &ttbuf);
251 (void) (*Ioctl)(fn, TCSBRK, 0);
270 if ((istermios = (*Ioctl)(Ifn, TCGETS, &tbufs)) < 0) {
271 if ((*Ioctl)(Ifn, TCGETA, &tbuf) != 0) {
325 if ((*Ioctl)(Ifn, TCSETAW, &tbuf) != 0)
329 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)
348 if ((*Ioctl)(Ifn, TCSETAW, &tbuf) != 0)
353 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)
366 if ((Saved_termios = (*Ioctl)(0, TCGETS, &Savettybs)) < 0) { in savline()
367 if ((*Ioctl)(0, TCGETA, &Savettyb) != 0) { in savline()
404 if ((istermios = (*Ioctl)(tty, TCGETS, &ttbufs)) < 0) {
405 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) {
436 ret = (*Ioctl)(tty, TCSETAW, &ttbuf);
438 ret = (*Ioctl)(tty, TCSETAWS &ttbufs);
449 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0)
453 ret = (*Ioctl)(tty, TCSETAW, &ttbuf);
464 return ((*Ioctl)(0, TCSETAW, &Savettyb)); in restline()
466 return ((*Ioctl)(0, TCSETSW, &Savettybs)); in restline()
497 if ((*Ioctl)(tty, TIOCGETP, &ttbuf) != 0)
519 (void) (*Ioctl)(tty, TIOCSETP, &ttbuf);
520 (void) (*Ioctl)(tty, TIOCHPCL, STBNULL);
521 (void) (*Ioctl)(tty, TIOCEXCL, STBNULL);
529 (void) (*Ioctl)(dcf, TIOCHPCL, STBNULL);
542 (void) (*Ioctl)(fn, TIOCSBRK, 0); in ttygenbrk()
545 (void) (*Ioctl)(fn, TIOCCBRK, 0); in ttygenbrk()
561 if ((*Ioctl)(0, TIOCGETP, &Savettyb) != 0) in savline()
575 return ((*Ioctl)(0, TIOCSETP, &Savettyb)); in restline()