Searched refs:old_termios (Results 1 – 2 of 2) sorted by relevance
83 struct termios old_termios; in read_one_char() local93 if (fd >= 0 && tcgetattr(fd, &old_termios) >= 0) { in read_one_char()94 struct termios new_termios = old_termios; in read_one_char()105 (void) tcsetattr(fd, TCSADRAIN, &old_termios); in read_one_char()111 (void) tcsetattr(fd, TCSADRAIN, &old_termios); in read_one_char()
395 struct termios old_termios, new_termios; in ask_password_tty() local438 if (tcgetattr(ttyfd, &old_termios) < 0) in ask_password_tty()462 new_termios = old_termios; in ask_password_tty()661 (void) tcsetattr(ttyfd, TCSADRAIN, &old_termios); in ask_password_tty()