aboutsummaryrefslogtreecommitdiff
path: root/src/linux/splice.c
blob: 8f45157fac388409bed99cc6ffaaaa9f9c68895e (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 splice(int fd_in, off_t *off_in, int fd_out, off_t *off_out, size_t len, unsigned flags)
{
	return syscall(SYS_splice, fd_in, off_in, fd_out, off_out, len, flags);
}


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