Searched refs:dup_stdout (Results 1 – 2 of 2) sorted by relevance
18 int dup_stdout; in main() local27 dup_stdout = dup(STDOUT_FILENO); in main()34 dup_flags = fcntl(dup_stdout, F_GETFL); in main()62 new_flags = fcntl(dup_stdout, F_GETFL); in main()110 new_flags = fcntl(dup_stdout, F_GETFL); in main()
48 FILE *dup_stdout = NULL; variable55 fprintf(dup_stdout, in fail()126 if ((dup_stdout = fdopen(fd, "w")) == NULL) in main()