Searched refs:orig_stderr_fd (Results 1 – 1 of 1) sorted by relevance
300 int dev_null = -1, orig_stdout_fd = -1, orig_stderr_fd = -1; in test_cmdline() local345 orig_stderr_fd = dup(STDERR_FILENO); in test_cmdline()346 if (orig_stderr_fd < 0) { in test_cmdline()351 orig_stderr = fdopen(orig_stderr_fd, "w"); in test_cmdline()365 if (orig_stderr_fd >= 0) { in test_cmdline()366 dup2(orig_stderr_fd, STDERR_FILENO); in test_cmdline()370 close(orig_stderr_fd); in test_cmdline()