Searched refs:pipefd (Results 1 – 1 of 1) sorted by relevance
109 int pipefd[2]; in startTethering() local111 if (pipe(pipefd) < 0) { in startTethering()122 close(pipefd[0]); in startTethering()123 close(pipefd[1]); in startTethering()128 close(pipefd[1]); in startTethering()129 if (pipefd[0] != STDIN_FILENO) { in startTethering()130 if (dup2(pipefd[0], STDIN_FILENO) != STDIN_FILENO) { in startTethering()134 close(pipefd[0]); in startTethering()162 close(pipefd[0]); in startTethering()164 mDaemonFd = pipefd[1]; in startTethering()