Home
last modified time | relevance | path

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

/net-tools-3.4.0/
Dtunslip6.c637 struct termios tty; in stty_telos() local
643 if(tcgetattr(fd, &tty) == -1) err(1, "tcgetattr"); in stty_telos()
645 cfmakeraw(&tty); in stty_telos()
648 tty.c_cc[VTIME] = 0; in stty_telos()
649 tty.c_cc[VMIN] = 0; in stty_telos()
651 tty.c_cflag |= CRTSCTS; in stty_telos()
653 tty.c_cflag &= ~CRTSCTS; in stty_telos()
654 tty.c_cflag &= ~HUPCL; in stty_telos()
655 tty.c_cflag &= ~CLOCAL; in stty_telos()
657 cfsetispeed(&tty, speed); in stty_telos()
[all …]