musl/src/linux/vmsplice.c
Rich Felker 53147f902b add splice and vmsplice syscalls
based on patches by orc and Isaac Dunham.
2012-07-23 16:50:56 -04:00

8 lines
195 B
C

#define _GNU_SOURCE
#include <fcntl.h>
#include "syscall.h"
ssize_t vmsplice(int fd, const struct iovec *iov, size_t cnt, unsigned flags)
{
return syscall(SYS_vmsplice, fd, iov, cnt, flags);
}