Home
last modified time | relevance | path

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

/freebsd/contrib/atf/atf-c/
H A Dutils.c400 atf_utils_redirect(const int target_fd, const char *name) in atf_utils_redirect() argument
402 if (target_fd == STDOUT_FILENO) in atf_utils_redirect()
404 else if (target_fd == STDERR_FILENO) in atf_utils_redirect()
410 if (new_fd != target_fd) { in atf_utils_redirect()
411 if (dup2(new_fd, target_fd) == -1) in atf_utils_redirect()
412 err(EXIT_FAILURE, "Cannot redirect to fd %d", target_fd); in atf_utils_redirect()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp74 int target_fd = FileSystem::Instance().Open(file, flags, 0666); in DupDescriptor() local
76 if (target_fd == -1) in DupDescriptor()
79 if (target_fd == fd) in DupDescriptor()
82 if (::dup2(target_fd, fd) == -1) in DupDescriptor()
85 ::close(target_fd); in DupDescriptor()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp475 .target_fd = targetFd, in clone_fd_action()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc1012 add_stderr_action->fd.target_fd = STDERR_FILENO; in AssumeRole()