splice.c 410 B

12345678910111213141516
  1. /*
  2. * splice() for uClibc
  3. *
  4. * Copyright (C) 2000-2006 Erik Andersen <andersen@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. #if defined __NR_splice && defined __USE_GNU
  10. # include <fcntl.h>
  11. _syscall6(ssize_t, splice, int, __fdin, off64_t *, __offin, int, __fdout,
  12. off64_t *, __offout, size_t, __len, unsigned int, __flags)
  13. #endif