Searched refs:tty_state (Results 1 – 1 of 1) sorted by relevance
79 struct sgttyb tty_state; local92 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))