Home
last modified time | relevance | path

Searched refs:ttbuf (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/bnu/
H A Dline.c123 struct termio ttbuf; local
131 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) {
134 ttbufs.c_lflag = ttbuf.c_lflag;
135 ttbufs.c_oflag = ttbuf.c_oflag;
136 ttbufs.c_iflag = ttbuf.c_iflag;
137 ttbufs.c_cflag = ttbuf.c_cflag;
139 ttbufs.c_cc[i] = ttbuf.c_cc[i];
218 ttbuf.c_lflag = ttbufs.c_lflag;
219 ttbuf.c_oflag = ttbufs.c_oflag;
220 ttbuf.c_iflag = ttbufs.c_iflag;
[all …]
H A Dfio.c106 static struct termio ttbuf; variable
108 static struct sgttyb ttbuf; variable
122 if (ioctl(Ifn, TCGETA, &ttbuf) >= 0) { in fturnon()
124 save_ttbuf = ttbuf; in fturnon()
125 ioctl(Ifn, TCGETA, &ttbuf); in fturnon()
126 ttbuf.c_iflag = IXOFF|IXON|ISTRIP; in fturnon()
127 ttbuf.c_cc[VMIN] = FIBUFSIZ > 64 ? 64 : FIBUFSIZ; in fturnon()
128 ttbuf.c_cc[VTIME] = 5; in fturnon()
129 ret = ioctl(Ifn, TCSETA, &ttbuf); in fturnon()
131 ttbuf = save_ttbuf; in fturnon()
[all …]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dline.c108 struct termio ttbuf; in fixline() local
116 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) in fixline()
118 ttbufs.c_lflag = ttbuf.c_lflag; in fixline()
119 ttbufs.c_oflag = ttbuf.c_oflag; in fixline()
120 ttbufs.c_iflag = ttbuf.c_iflag; in fixline()
121 ttbufs.c_cflag = ttbuf.c_cflag; in fixline()
123 ttbufs.c_cc[i] = ttbuf.c_cc[i]; in fixline()
197 ttbuf.c_lflag = ttbufs.c_lflag; in fixline()
198 ttbuf.c_oflag = ttbufs.c_oflag; in fixline()
199 ttbuf.c_iflag = ttbufs.c_iflag; in fixline()
[all …]