Searched refs:kWriteFD (Results 1 – 1 of 1) sorted by relevance
263 static const int kWriteFD = 1; variable275 dup2(stdout_fds[kWriteFD], 1); // Dup pipe fd to stdout. in ExecSubprocess()276 close(stdout_fds[kWriteFD]); // Don't need the original fd now. in ExecSubprocess()277 fcntl(exec_error_fds[kWriteFD], F_SETFD, FD_CLOEXEC); in ExecSubprocess()284 bytes_written = write(exec_error_fds[kWriteFD], &err, sizeof(err)); in ExecSubprocess()529 close(exec_error_fds[kWriteFD]); in System()530 close(stdout_fds[kWriteFD]); in System()