Lines Matching refs:ioctl
148 if (ioctl (tty, TIOCGWINSZ, &w) == 0)
149 (void) ioctl (tty, TIOCSWINSZ, &w);
232 if (ioctl (tty, TIOCGETP, &(tiop->sgttyb)) < 0)
237 if (ioctl (tty, TIOCLGET, &(tiop->lflag)) == 0)
242 if (ioctl (tty, TIOCGETC, &(tiop->tchars)) == 0)
247 if (ioctl (tty, TIOCGLTC, &(tiop->ltchars)) == 0)
261 ioctl (tty, TIOCSETN, &(tiop->sgttyb));
269 ioctl (tty, TIOCLSET, &(tiop->lflag));
277 ioctl (tty, TIOCSETC, &(tiop->tchars));
285 ioctl (tty, TIOCSLTC, &(tiop->ltchars));
387 # define GETATTR(tty, tiop) (ioctl (tty, TCGETA, tiop))
388 # define SETATTR(tty, tiop) (ioctl (tty, TCSETAW, tiop))
559 ioctl (tty, TCXONC, 1); /* Simulate a ^Q. */
717 ioctl (&fildes, TIOCSTART, 0);
719 ioctl (fildes, TIOCSTART, 0);
735 ioctl (fildes, TCXONC, TCOON);
751 ioctl (&fildes, TIOCSTOP, 0);
753 ioctl (fildes, TIOCSTOP, 0);
763 ioctl (fildes, TCXONC, TCOON);