Home
last modified time | relevance | path

Searched refs:orig_stdout_fd (Results 1 – 1 of 1) sorted by relevance

/external/ethtool/
Dtest-common.c300 int dev_null = -1, orig_stdout_fd = -1, orig_stderr_fd = -1; in test_cmdline() local
338 orig_stdout_fd = dup(STDOUT_FILENO); in test_cmdline()
339 if (orig_stdout_fd < 0) { in test_cmdline()
373 if (orig_stdout_fd >= 0) { in test_cmdline()
374 dup2(orig_stdout_fd, STDOUT_FILENO); in test_cmdline()
375 close(orig_stdout_fd); in test_cmdline()