Searched refs:STDERR_COPY (Results 1 – 1 of 1) sorted by relevance
953 int STDERR_COPY = -1; variable959 STDERR_COPY = dup(STDERR_FILENO); in store_original_fds()962 util::make_socket_closeonexec(STDERR_COPY); in store_original_fds()965 void restore_original_fds() { dup2(STDERR_COPY, STDERR_FILENO); } in restore_original_fds()968 if (fd != STDERR_COPY && fd != STDOUT_COPY && fd != -1) { in close_log_file()983 return STDERR_COPY; in open_log_file()