vmsplice.c raw

   1  #define _GNU_SOURCE
   2  #include <fcntl.h>
   3  #include "syscall.h"
   4  
   5  ssize_t vmsplice(int fd, const struct iovec *iov, size_t cnt, unsigned flags)
   6  {
   7  	return syscall(SYS_vmsplice, fd, iov, cnt, flags);
   8  }
   9