Home
last modified time | relevance | path

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

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