Searched refs:target_fd (Results 1 - 1 of 1) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dutils.c350 * \param target_fd The file descriptor to be replaced.
357 atf_utils_redirect(const int target_fd, const char *name) argument
359 if (target_fd == STDOUT_FILENO)
361 else if (target_fd == STDERR_FILENO)
367 if (new_fd != target_fd) {
368 if (dup2(new_fd, target_fd) == -1)
369 err(EXIT_FAILURE, "Cannot redirect to fd %d", target_fd);

Completed in 9 milliseconds