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

/system/netd/
H A DTetherController.cpp109 int pipefd[2]; local
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]);
162 close(pipefd[0]);
164 mDaemonFd = pipefd[
[all...]

Completed in 2196 milliseconds