Searched refs:stdout_fd (Results 1 – 2 of 2) sorted by relevance
146 int stdout_fd; in flush_stdout() local152 stdout_fd = STDOUT_FILENO; in flush_stdout()157 stdout_fd = fileno (stdout); in flush_stdout()162 if (0 <= stdout_fd && is_open (stdout_fd)) in flush_stdout()
1283 int stdout_fd = proc->GetStdoutFileDescriptor(); in STDIOThread() local1285 if (stdout_fd == stderr_fd) in STDIOThread()1288 while (stdout_fd >= 0 || stderr_fd >= 0) in STDIOThread()1294 if (stdout_fd >= 0) in STDIOThread()1295 FD_SET (stdout_fd, &read_fds); in STDIOThread()1298 int nfds = std::max<int>(stdout_fd, stderr_fd) + 1; in STDIOThread()1333 if (stdout_fd >= 0 && FD_ISSET (stdout_fd, &read_fds)) in STDIOThread()1337 bytes_read = ::read (stdout_fd, s, sizeof(s)-1); in STDIOThread()1347 stdout_fd = -1; in STDIOThread()