Home
last modified time | relevance | path

Searched refs:pipe_fds (Results 1 – 1 of 1) sorted by relevance

/device/google/dragon/crash_collector/
Dcrash_dispatcher.cc47 int pipe_fds[2]; in main() local
48 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()