Searched refs:ttyfp (Results 1 – 2 of 2) sorted by relevance
799 FILE *ttyfp; in prompt() local801 if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL) in prompt()805 if ((response = fgetln(ttyfp, &rsize)) == NULL || in prompt()807 (void)fclose(ttyfp); in prompt()812 (void)fclose(ttyfp); in prompt()
140 FILE *ttyfp; in ttypause() local144 if ((ttyfp = fopen("/dev/tty", "r")) != NULL) { in ttypause()146 while ((pch = getc(ttyfp)) != '\n' && pch != EOF) in ttypause()148 (void)fclose(ttyfp); in ttypause()