aboutsummaryrefslogtreecommitdiff
path: root/src/linux/vmsplice.c
blob: 26f7b5ea8bb964e9effbccf409f16c1a28c4b404 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif