pipe2.c 322 B

123456789101112131415
  1. /*
  2. * pipe2() for uClibc
  3. *
  4. * Copyright (C) 2011 Bernhard Reutner-Fischer <uclibc@uclibc.org>
  5. *
  6. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. */
  8. #include <sys/syscall.h>
  9. #include <unistd.h>
  10. #ifdef __NR_pipe2
  11. _syscall2(int, pipe2, int *, filedes, int, flags)
  12. libc_hidden_def(pipe2)
  13. #endif