Searched refs:tios (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_pty.c111 struct termios tios; local
123 if (tcgetattr(fd, &tios) == -1)
125 cfmakeraw(&tios);
126 cfsetspeed(&tios, B921600);
127 if (tcsetattr(fd, TCSANOW, &tios) == -1)
/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_solaris.c322 struct termios tios; local
400 HX(tcgetattr(0, &tios) == -1,
401 tios);
H A Dgetentropy_linux.c399 struct termios tios; local
482 HX(tcgetattr(0, &tios) == -1,
483 tios);
H A Dgetentropy_osx.c299 struct termios tios; local
378 HX(tcgetattr(0, &tios) == -1,
379 tios);
/freebsd-11-stable/usr.bin/fetch/
H A Dfetch.c389 struct termios tios; local
404 if (tcgetattr(STDIN_FILENO, &tios) == 0) {
405 saved_flags = tios.c_lflag;
406 tios.c_lflag &= ~ECHO;
407 tios.c_lflag |= ECHONL|ICANON;
408 tcsetattr(STDIN_FILENO, TCSAFLUSH|TCSASOFT, &tios);
410 tios.c_lflag = saved_flags;
411 tcsetattr(STDIN_FILENO, TCSANOW|TCSASOFT, &tios);
/freebsd-11-stable/lib/libedit/
H A Dtty.c1158 struct termios *tios = &el->el_tty.t_ex; local
1174 tios = &el->el_tty.t_ed;
1179 tios = &el->el_tty.t_ex;
1184 tios = &el->el_tty.t_ts;
1273 tios->c_cc[c] = (cc_t)v;
1292 tty_setup_flags(el, tios, z);
1294 if (tty_setty(el, TCSADRAIN, tios) == -1) {
1333 tty_setup_flags(EditLine *el, struct termios *tios, int mode) argument
1337 tcflag_t *f = tty__get_flag(tios, kind);

Completed in 132 milliseconds