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

/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp75 int target_fd = llvm::sys::RetryAfterSignal(-1, ::open, local
78 if (target_fd == -1)
81 if (target_fd == fd)
84 if (::dup2(target_fd, fd) == -1)
87 ::close(target_fd);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dremote-fileio.c95 int target_fd = remote_fileio_next_free_fd (); local
96 remote_fio_data.fd_map[target_fd] = fd;
97 return target_fd;
101 remote_fileio_map_fd (int target_fd) argument
104 if (target_fd < 0 || target_fd >= remote_fio_data.fd_map_size)
106 return remote_fio_data.fd_map[target_fd];
110 remote_fileio_close_target_fd (int target_fd) argument
113 if (target_fd >= 0 && target_fd < remote_fio_dat
659 long target_fd, num; local
777 long target_fd, num; local
1100 long target_fd; local
1223 long target_fd; local
[all...]
/freebsd-11-stable/contrib/atf/atf-c/
H A Dutils.c383 * \param target_fd The file descriptor to be replaced.
390 atf_utils_redirect(const int target_fd, const char *name) argument
392 if (target_fd == STDOUT_FILENO)
394 else if (target_fd == STDERR_FILENO)
400 if (new_fd != target_fd) {
401 if (dup2(new_fd, target_fd) == -1)
402 err(EXIT_FAILURE, "Cannot redirect to fd %d", target_fd);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp475 .target_fd = STDIN_FILENO,
483 .target_fd = STDOUT_FILENO,
491 .target_fd = STDERR_FILENO,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DProcessMonitor.cpp1371 int target_fd = llvm::sys::RetryAfterSignal(-1, open, local
1374 if (target_fd == -1)
1377 if (dup2(target_fd, fd) == -1)
1380 return (close(target_fd) == -1) ? false : true;

Completed in 116 milliseconds