Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dreadpassphrase.c62 struct termios term, oterm; in readpassphrase() local
107 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { in readpassphrase()
108 memcpy(&term, &oterm, sizeof(term)); in readpassphrase()
119 memset(&oterm, 0, sizeof(oterm)); in readpassphrase()
120 oterm.c_lflag |= ECHO; in readpassphrase()
145 if (memcmp(&term, &oterm, sizeof(term)) != 0) in readpassphrase()
146 (void)tcsetattr(input, _T_FLUSH, &oterm); in readpassphrase()