Home | History | Annotate | Download | only in MacOSX

Lines Matching full:stderr_fd

1284     int stderr_fd = proc->GetStderrFileDescriptor();
1285 if (stdout_fd == stderr_fd)
1286 stderr_fd = -1;
1288 while (stdout_fd >= 0 || stderr_fd >= 0)
1296 if (stderr_fd >= 0)
1297 FD_SET (stderr_fd, &read_fds);
1298 int nfds = std::max<int>(stdout_fd, stderr_fd) + 1;
1357 if (stderr_fd >= 0 && FD_ISSET (stderr_fd, &read_fds))
1361 bytes_read = ::read (stderr_fd, s, sizeof(s)-1);
1365 DNBLogThreadedIf(LOG_PROCESS, "read (stderr_fd, ) => %d errno: %d (%s)", bytes_read, read_errno, strerror(read_errno));
1370 DNBLogThreadedIf(LOG_PROCESS, "read (stderr_fd, ) => %d (reached EOF for child STDERR)", bytes_read);
1371 stderr_fd = -1;