Home
last modified time | relevance | path

Searched refs:ioctl_t (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/tcsh/
H A Dtc.disc.c75 if (ioctl(f, TCGETA, (ioctl_t) & termiob) == 0) {
84 if (ioctl(f, TCSETA, (ioctl_t) & termiob) != 0)
104 if (ioctl(f, TCGETA, (ioctl_t) & termiob) == 0) {
109 if (ioctl(f, TIOCGLTC, (ioctl_t) & ltcbuf) != 0)
118 if (ioctl(f, TIOCSLTC, (ioctl_t) & ltcbuf) != 0)
122 if (ioctl(f, TCSETAF, (ioctl_t) & termiob) != 0)
138 if (ioctl(f, TXGETLD, (ioctl_t) & tx) == 0) {
140 if (ioctl(f, TXADDCD, (ioctl_t) strPOSIX) == 0) {
152 if (ioctl(f, TIOCGETD, (ioctl_t) & oldisc) == 0) {
156 if (ioctl(f, TIOCSETD, (ioctl_t) & ldisc) != 0)
[all …]
H A Dsh.file.c98 (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()
[all …]
H A Ded.term.c698 RETRY(ioctl(fd, TCGETA, (ioctl_t) &td->d_t)); in tty_getty()
701 RETRY(ioctl(fd, TIOCGETP, (ioctl_t) &td->d_t)); in tty_getty()
704 RETRY(ioctl(fd, TIOCGETC, (ioctl_t) &td->d_tc)); in tty_getty()
707 RETRY(ioctl(fd, TIOCGPAGE, (ioctl_t) &td->d_pc)); in tty_getty()
710 RETRY(ioctl(fd, TIOCLGET, (ioctl_t) &td->d_lb)); in tty_getty()
716 RETRY(ioctl(fd, TIOCGLTC, (ioctl_t) &td->d_ltc)); in tty_getty()
729 RETRY(ioctl(fd, TCSETAW, (ioctl_t) &td->d_t)); in tty_setty()
732 RETRY(ioctl(fd, TIOCSETN, (ioctl_t) &td->d_t)); in tty_setty()
735 RETRY(ioctl(fd, TIOCSETC, (ioctl_t) &td->d_tc)); in tty_setty()
738 RETRY(ioctl(fd, TIOCSPAGE, (ioctl_t) &td->d_pc)); in tty_setty()
[all …]
H A Dsh.types.h376 typedef char * ioctl_t; /* Third arg of ioctl */ typedef
393 typedef void * ioctl_t; /* Third arg of ioctl */ typedef
H A Dsh.print.c248 if (didfds == 0 && ioctl(unit, TIOCLGET, (ioctl_t) & lmode) == 0 && in flush()
H A Dtc.os.c1011 if (ioctl(fd, TIOCGPGRP, (ioctl_t) & pgrp) < 0) in xtcgetpgrp()
1025 return ioctl(fd, TIOCSPGRP, (ioctl_t) &pgrp); in xtcsetpgrp()
H A Dsh.lex.c1459 if (ioctl(SHIN, TCGETA, (ioctl_t) & tty) == 0 && in readc()
1462 if (ioctl(SHIN, TIOCGETP, (ioctl_t) & tty) == 0 && in readc()
H A Ded.inputl.c124 (void) ioctl(SHIN, FIONREAD, (ioctl_t) & chrs); in Inputl()
H A Ded.screen.c1533 if (ioctl(SHIN, TIOCGWINSZ, (ioctl_t) &ws) != -1) { in GetSize()
1547 if (ioctl(SHIN, TIOCGSIZE, (ioctl_t) &ts) != -1) { in GetSize()
H A Ded.init.c623 (void) ioctl(SHIN, FIONREAD, (ioctl_t) &chrs); in Load_input_line()
H A Ded.chared.c3396 (void) ioctl(SHIN, TIOCSTI, (ioctl_t) &buf[i]); in e_stuff_char()
3572 if (ioctl(SHIN, TIOCSTAT, (ioctl_t) &c) < 0) in e_load_average()
H A Dsh.c472 (void) ioctl (SHIN, TIOCSPGRP, (ioctl_t) &shpgrp); in main()
H A Dtc.func.c1728 if (ioctl(fd, FIONBIO, (ioctl_t) &e) == -1) in fixio()