Home | History | Annotate | Download | only in netd

Lines Matching defs:pipefd

109     int pipefd[2];
111 if (pipe(pipefd) < 0) {
122 close(pipefd[0]);
123 close(pipefd[1]);
128 close(pipefd[1]);
129 if (pipefd[0] != STDIN_FILENO) {
130 if (dup2(pipefd[0], STDIN_FILENO) != STDIN_FILENO) {
134 close(pipefd[0]);
161 close(pipefd[0]);
163 mDaemonFd = pipefd[1];