Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cpp423 const char *const envp[], fd_t stdin_fd, fd_t stdout_fd, in StartSubprocess() argument
429 if (stdout_fd != kInvalidFd) { in StartSubprocess()
430 internal_close(stdout_fd); in StartSubprocess()
454 if (stdout_fd != kInvalidFd) { in StartSubprocess()
456 internal_dup2(stdout_fd, STDOUT_FILENO); in StartSubprocess()
457 internal_close(stdout_fd); in StartSubprocess()
H A Dsanitizer_file.h94 fd_t stdout_fd = kInvalidFd, fd_t stderr_fd = kInvalidFd);
H A Dsanitizer_win.cpp1127 const char *const envp[], fd_t stdin_fd, fd_t stdout_fd, in StartSubprocess() argument
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.mm2457 int stdout_fd = proc->GetStdoutFileDescriptor();
2459 if (stdout_fd == stderr_fd)
2462 while (stdout_fd >= 0 || stderr_fd >= 0) {
2467 if (stdout_fd >= 0)
2468 FD_SET(stdout_fd, &read_fds);
2471 int nfds = std::max<int>(stdout_fd, stderr_fd) + 1;
2506 if (stdout_fd >= 0 && FD_ISSET(stdout_fd, &read_fds)) {
2508 bytes_read = ::read(stdout_fd, s, sizeof(s) - 1);
2512 "read (stdout_fd, ) => %zd errno: %d (%s)",
2518 "read (stdout_fd, ) => %zd (reached EOF for child STDOUT)",
[all …]