vmsplice.c 393 B

12345678910111213141516
  1. /*
  2. * vmsplice() 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_vmsplice && defined __USE_GNU
  10. # include <fcntl.h>
  11. _syscall4(ssize_t, vmsplice, int, __fdout, const struct iovec *, __iov,
  12. size_t, __count, unsigned int, __flags)
  13. #endif