Lines Matching defs:fds
551 static int fuse_pipe(int fds[2])
553 int rv = pipe(fds);
558 if (fcntl(fds[0], F_SETFL, O_NONBLOCK) == -1 ||
559 fcntl(fds[1], F_SETFL, O_NONBLOCK) == -1 ||
560 fcntl(fds[0], F_SETFD, FD_CLOEXEC) == -1 ||
561 fcntl(fds[1], F_SETFD, FD_CLOEXEC) == -1) {
562 close(fds[0]);
563 close(fds[1]);
569 static int fuse_pipe(int fds[2])
571 return pipe2(fds, O_CLOEXEC | O_NONBLOCK);