Home | History | Annotate | Download | only in MacOSX

Lines Matching full:stdout_fd

1283     int stdout_fd = proc->GetStdoutFileDescriptor();
1285 if (stdout_fd == stderr_fd)
1288 while (stdout_fd >= 0 || stderr_fd >= 0)
1294 if (stdout_fd >= 0)
1295 FD_SET (stdout_fd, &read_fds);
1298 int nfds = std::max<int>(stdout_fd, stderr_fd) + 1;
1333 if (stdout_fd >= 0 && FD_ISSET (stdout_fd, &read_fds))
1337 bytes_read = ::read (stdout_fd, s, sizeof(s)-1);
1341 DNBLogThreadedIf(LOG_PROCESS, "read (stdout_fd, ) => %d errno: %d (%s)", bytes_read, read_errno, strerror(read_errno));
1346 DNBLogThreadedIf(LOG_PROCESS, "read (stdout_fd, ) => %d (reached EOF for child STDOUT)", bytes_read);
1347 stdout_fd = -1;