move msghdr and cmsghdr out of bits/socket.h
[musl.git] / src / linux / vmsplice.c
blobebf13ee44edfbefa1cc5bc2cb9ead200f4781d3b
1 #define _GNU_SOURCE
2 #include <fcntl.h>
3 #include "syscall.h"
5 ssize_t vmsplice(int fd, const struct iovec *iov, size_t cnt, unsigned flags)
7 return syscall(SYS_vmsplice, fd, iov, cnt, flags);