Lines Matching refs:ioctl

98     (void) ioctl(SHIN, TCGETA, (ioctl_t) &tchars);  in setup_tty()
129 (void) ioctl(SHIN, on, (ioctl_t) &tchars); in setup_tty()
136 (void) ioctl(SHIN, TIOCGETC, (ioctl_t) & tchars); in setup_tty()
138 (void) ioctl(SHIN, TIOCSETC, (ioctl_t) & tchars); in setup_tty()
143 (void) ioctl(SHIN, TIOCGETP, (ioctl_t) & sgtty); in setup_tty()
146 (void) ioctl(SHIN, TIOCSETP, (ioctl_t) & sgtty); in setup_tty()
151 (void) ioctl(SHIN, TIOCSETC, (ioctl_t) & tchars); in setup_tty()
179 (void) ioctl(SHOUT, TCGETA, (ioctl_t) &tty_normal); in back_to_col_1()
187 (void) ioctl(SHOUT, TCSETAW, (ioctl_t) &tty); in back_to_col_1()
193 (void) ioctl(SHOUT, TCSETAW, (ioctl_t) &tty_normal); in back_to_col_1()
196 (void) ioctl(SHIN, TIOCGETP, (ioctl_t) & tty); in back_to_col_1()
199 (void) ioctl(SHIN, TIOCSETN, (ioctl_t) & tty); in back_to_col_1()
201 (void) ioctl(SHIN, TIOCSETN, (ioctl_t) & tty_normal); in back_to_col_1()
231 (void) ioctl(SHOUT, TCGETA, (ioctl_t) &tty); in pushback()
242 (void) ioctl(SHOUT, TCSETAW, (ioctl_t) &tty); in pushback()
251 (void) ioctl(SHOUT, TIOCSTI, (ioctl_t) &buf[i]); in pushback()
256 (void) ioctl(SHOUT, TCSETAW, (ioctl_t) &tty_normal); in pushback()
259 (void) ioctl(SHOUT, TIOCGETP, (ioctl_t) & tty); in pushback()
262 (void) ioctl(SHOUT, TIOCSETN, (ioctl_t) & tty); in pushback()
265 (void) ioctl(SHOUT, TIOCSTI, (ioctl_t) & c); in pushback()
266 (void) ioctl(SHOUT, TIOCSETN, (ioctl_t) & tty_normal); in pushback()
315 if (ioctl(SHOUT, TIOCGWINSZ, (ioctl_t) & win) < 0 || win.ws_col == 0) in print_by_column()
391 (void) ioctl(SHOUT, TCGETA, (ioctl_t) &tty); in retype()
401 (void) ioctl(SHOUT, TCSETAW, (ioctl_t) &tty); in retype()
406 (void) ioctl(SHOUT, TIOCLBIS, (ioctl_t) & pending_input); in retype()