Lines Matching refs:stdout_file
86 FILE* stdout_file;
115 stdout_file = tmpfile();
116 stdout_fd = fileno(stdout_file);
117 if (!stdout_file) {
165 p->stdout_file = stdout_file;
354 /* Size of the p->stdout_file */
358 int r = fstat(fileno(p->stdout_file), &buf);
372 r = fseek(p->stdout_file, 0, SEEK_SET);
379 while ((r = fread(buf, 1, sizeof(buf), p->stdout_file)) != 0)
382 if (ferror(p->stdout_file)) {
397 int r = fseek(p->stdout_file, 0, SEEK_SET);
405 while (fgets(buffer, buffer_len, p->stdout_file) != NULL) {
411 if (ferror(p->stdout_file)) {
444 fclose(p->stdout_file);