Home | History | Annotate | Download | only in tests

Lines Matching refs:tty

682 	int rc, tty;
760 tty = open("/dev/tty", O_RDONLY);
763 if (tty == -1)
764 perror("warning: failed to open /dev/tty");
771 if (tty >= 0)
772 FD_SET(tty, &poll_set);
774 pselect(MAX(tty, pipefd[0]) + 1,
787 if (tty < 0 || !FD_ISSET(tty, &poll_set))
790 nread = read(tty, &input, 1);