Lines Matching refs:stdin
224 c = getc(stdin); in readtty()
265 if (c==EOF || ferror(stdin) || c==c_intr || c==c_quit) { in readtty()
275 clearerr(stdin); in readtty()
281 clearerr(stdin); in readtty()
483 if (gtty(fileno(stdin), &ttybuf) < 0) { in grabh()
499 ttyset++, stty(fileno(stdin), &ttybuf); in grabh()
508 ttyset++, stty(fileno(stdin), &ttybuf); in grabh()
517 ttyset++, stty(fileno(stdin), &ttybuf); in grabh()
526 ttyset++, stty(fileno(stdin), &ttybuf); in grabh()
535 ttyset++, stty(fileno(stdin), &ttybuf); in grabh()
548 stty(fileno(stdin), &ttybuf); in grabh()
604 clearerr(stdin); in readtty()
606 c = getc(stdin); in readtty()
615 if (c == EOF && ferror(stdin) && hadcont) { in readtty()
619 clearerr(stdin); in readtty()
622 clearerr(stdin); in readtty()