Home
last modified time | relevance | path

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

/NextBSD/contrib/netbsd-tests/kernel/
HDt_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()
/NextBSD/usr.bin/fetch/
HDfetch.c360 struct termios tios; in query_auth() local
375 if (tcgetattr(STDIN_FILENO, &tios) == 0) { in query_auth()
376 saved_flags = tios.c_lflag; in query_auth()
377 tios.c_lflag &= ~ECHO; in query_auth()
378 tios.c_lflag |= ECHONL|ICANON; in query_auth()
379 tcsetattr(STDIN_FILENO, TCSAFLUSH|TCSASOFT, &tios); in query_auth()
381 tios.c_lflag = saved_flags; in query_auth()
382 tcsetattr(STDIN_FILENO, TCSANOW|TCSASOFT, &tios); in query_auth()
/NextBSD/lib/libedit/
HDtty.c1145 struct termios *tios = &el->el_tty.t_ex; in tty_stty() local
1161 tios = &el->el_tty.t_ed; in tty_stty()
1166 tios = &el->el_tty.t_ex; in tty_stty()
1171 tios = &el->el_tty.t_ts; in tty_stty()
1260 tios->c_cc[c] = (cc_t)v; in tty_stty()
1279 tty_setup_flags(el, tios, z); in tty_stty()
1281 if (tty_setty(el, TCSADRAIN, tios) == -1) { in tty_stty()
1320 tty_setup_flags(EditLine *el, struct termios *tios, int mode) in tty_setup_flags() argument
1324 tcflag_t *f = tty__get_flag(tios, kind); in tty_setup_flags()
/NextBSD/contrib/unbound/compat/
HDgetentropy_solaris.c322 struct termios tios; in getentropy_fallback() local
400 HX(tcgetattr(0, &tios) == -1, in getentropy_fallback()
401 tios); in getentropy_fallback()
HDgetentropy_osx.c311 struct termios tios; in getentropy_fallback() local
390 HX(tcgetattr(0, &tios) == -1, in getentropy_fallback()
391 tios); in getentropy_fallback()
HDgetentropy_linux.c414 struct termios tios; in getentropy_fallback() local
497 HX(tcgetattr(0, &tios) == -1, in getentropy_fallback()
498 tios); in getentropy_fallback()