Searched refs:pipe_fds (Results 1 – 1 of 1) sorted by relevance
47 int pipe_fds[2]; in main() local48 if (pipe(pipe_fds) == -1) { in main()66 if (close(pipe_fds[1]) != 0 && errno != EINTR) { in main()70 if (TEMP_FAILURE_RETRY(dup2(pipe_fds[0], STDIN_FILENO)) != 0) { in main()79 if (close(pipe_fds[0]) != 0 && errno != EINTR) { in main()83 if (!android::base::WriteFully(pipe_fds[1], buf_head, sizeof(buf_head))) { in main()97 if (!android::base::WriteFully(pipe_fds[1], buf, rv)) { in main()