Lines Matching refs:terminal
235 terminal = stdin;
250 * our own connection to the terminal.
252 terminal = fopen(_PATH_TTY, "r");
253 if (terminal == NULL) {
256 terminal = fopen(_PATH_DEVNULL, "r");
257 if (terminal == NULL) {
437 (void) fgets(buf, BUFSIZ, terminal);
438 } while (!feof(terminal) && buf[0] == '\n');
439 if (feof(terminal))
456 (void) fgets(buf, BUFSIZ, terminal);
457 if (feof(terminal))