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

/freebsd-current/tools/test/stress2/testcases/pty/
H A Dpty.c57 struct termios tios; local
96 if (tcgetattr(slave, &tios) < 0)
98 cfmakeraw(&tios);
99 if (tcsetattr(slave, TCSAFLUSH, &tios) < 0)
/freebsd-current/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-current/contrib/unbound/compat/
H A Dgetentropy_solaris.c322 struct termios tios; local
400 HX(tcgetattr(0, &tios) == -1,
401 tios);
H A Dgetentropy_osx.c299 struct termios tios; local
378 HX(tcgetattr(0, &tios) == -1,
379 tios);
H A Dgetentropy_linux.c399 struct termios tios; local
482 HX(tcgetattr(0, &tios) == -1,
483 tios);
/freebsd-current/usr.bin/fetch/
H A Dfetch.c386 struct termios tios; local
401 if (tcgetattr(STDIN_FILENO, &tios) == 0) {
402 saved_flags = tios.c_lflag;
403 tios.c_lflag &= ~ECHO;
404 tios.c_lflag |= ECHONL|ICANON;
405 tcsetattr(STDIN_FILENO, TCSAFLUSH|TCSASOFT, &tios);
407 tios.c_lflag = saved_flags;
408 tcsetattr(STDIN_FILENO, TCSANOW|TCSASOFT, &tios);
/freebsd-current/contrib/libedit/
H A Dtty.c1161 struct termios *tios = &el->el_tty.t_ex; local
1176 tios = &el->el_tty.t_ed;
1181 tios = &el->el_tty.t_ex;
1186 tios = &el->el_tty.t_ts;
1275 tios->c_cc[c] = (cc_t)v;
1294 tty_setup_flags(el, tios, z);
1296 if (tty_setty(el, TCSADRAIN, tios) == -1) {
1335 tty_setup_flags(EditLine *el, struct termios *tios, int mode) argument
1339 tcflag_t *f = tty__get_flag(tios, kind);

Completed in 135 milliseconds