Searched refs:pipefd (Results 1 - 1 of 1) sorted by relevance

/system/netd/
H A DTetherController.cpp110 int pipefd[2]; local
112 if (pipe(pipefd) < 0) {
123 close(pipefd[0]);
124 close(pipefd[1]);
129 close(pipefd[1]);
130 if (pipefd[0] != STDIN_FILENO) {
131 if (dup2(pipefd[0], STDIN_FILENO) != STDIN_FILENO) {
135 close(pipefd[0]);
164 close(pipefd[0]);
166 mDaemonFd = pipefd[
[all...]

Completed in 252 milliseconds