Lines Matching refs:stdin
165 /* We need stdin (the FILE* stdin) to connect to this new pipe.
166 * There is no portable way to set stdin to a new file descriptor,
167 * as stdin is not an lvalue on some systems (BSD).
168 * So we dup the new pipe onto the stdin descriptor and use a no-op fseek
172 clearerr(stdin);
173 if (dup2 (pipes[0], fileno (stdin)) == -1)
176 fseek (stdin, 0, SEEK_CUR);
234 /* This function reads from stdin and writes to both the C file and the
294 while (fgets (buf, readsz, stdin)) {
356 while (fgets (buf, readsz, stdin)) {