Home
last modified time | relevance | path

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

/trusty/user/base/experimental/lib/tidl/include/lib/tidl/android-base/
Dunique_fd.h209 int pipefd[2]; variable
212 if (pipe2(pipefd, flags) != 0) {
219 if (pipe(pipefd) != 0) {
224 if (fcntl(pipefd[0], F_SETFD, FD_CLOEXEC) != 0 ||
225 fcntl(pipefd[1], F_SETFD, FD_CLOEXEC) != 0) {
226 close(pipefd[0]);
227 close(pipefd[1]);
232 if (fcntl(pipefd[0], F_SETFL, O_NONBLOCK) != 0 ||
233 fcntl(pipefd[1], F_SETFL, O_NONBLOCK) != 0) {
234 close(pipefd[0]);
[all …]