Home
last modified time | relevance | path

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

/src/contrib/telnet/libtelnet/
H A Dread_password.c79 struct sgttyb tty_state; local
92 if (ioctl(0,TIOCGETP,(char *)&tty_state) == -1)
98 tty_state.sg_flags &= ~ECHO;
99 if (ioctl(0,TIOCSETP,(char *)&tty_state) == -1)
131 tty_state.sg_flags |= ECHO;
132 if (ioctl(0,TIOCSETP,(char *)&tty_state))