Lines Matching refs:tin
68 static int tin; /* Input file descriptor */
96 tin = fileno(stdin);
118 return (read(tin, buf, n));
316 (void) tcgetattr(tin, &tmp_tc);
323 (void) tcsetattr(tin, TCSADRAIN, &tmp_tc);
531 if (isatty(tin)) {
533 (void) ioctl(tin, TIOCLSET, &lmode);
534 (void) ioctl(tin, TIOCSLTC, <c);
535 (void) ioctl(tin, TIOCSETC, &tc);
536 (void) ioctl(tin, TIOCSETN, &sb);
538 if (tcsetattr(tin, TCSADRAIN, &tmp_tc) < 0)
539 (void) tcsetattr(tin, TCSANOW, &tmp_tc);
541 (void) ioctl(tin, FIONBIO, &onoff);
773 FD_SET(tin, &ibits);
839 if (FD_ISSET(tin, &ibits)) {
840 FD_CLR(tin, &ibits);
852 isatty(tin)) {