Searched refs:cached_stdout_fd (Results 1 – 1 of 1) sorted by relevance
36 static int cached_stdout_fd = -1; variable51 if ((cached_stdout_fd = dup(1)) < 0) { in proc_initstdio()56 (void) close(cached_stdout_fd); in proc_initstdio()61 (void) close(cached_stdout_fd); in proc_initstdio()70 (void) close(cached_stdout_fd); in proc_initstdio()79 (void) dup2(cached_stdout_fd, 1); in proc_initstdio()80 (void) close(cached_stdout_fd); in proc_initstdio()89 (void) dup2(cached_stdout_fd, 1); in proc_initstdio()90 (void) close(cached_stdout_fd); in proc_initstdio()145 errors += copy_fd(cached_stdout_fd, stdout, len); in proc_flushstdio()[all …]