Lines Matching refs:pipefd
186 int pipefd[2]; variable
189 if (pipe2(pipefd, flags) != 0) {
196 if (pipe(pipefd) != 0) {
201 if (fcntl(pipefd[0], F_SETFD, FD_CLOEXEC) != 0 || fcntl(pipefd[1], F_SETFD, FD_CLOEXEC) != 0) {
202 close(pipefd[0]);
203 close(pipefd[1]);
208 if (fcntl(pipefd[0], F_SETFL, O_NONBLOCK) != 0 || fcntl(pipefd[1], F_SETFL, O_NONBLOCK) != 0) {
209 close(pipefd[0]);
210 close(pipefd[1]);
216 read->reset(pipefd[0]);
217 write->reset(pipefd[1]);