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)
325 DEBUG(4, "setline Ioctl failed errno=%d\n",
328 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)
330 "setline Ioctl failed errno=%d\n",
347 if ((*Ioctl)(Ifn, TCSETAW, &tbuf) != 0)
349 "setline Ioctl failed errno=%d\n",
352 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)
354 "setline Ioctl failed errno=%d\n",
365 if ((Saved_termios = (*Ioctl)(0, TCGETS, &Savettybs)) < 0) {
366 if ((*Ioctl)(0, TCGETA, &Savettyb) != 0) {
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));
465 return ((*Ioctl)(0, TCSETSW, &Savettybs));
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);
544 (void) (*Ioctl)(fn, TIOCCBRK, 0);
560 if ((*Ioctl)(0, TIOCGETP, &Savettyb) != 0)
574 return ((*Ioctl)(0, TIOCSETP, &Savettyb));