aboutsummaryrefslogtreecommitdiff
path: root/src/linux/sendfile.c
blob: ed9d7090f6a783c0544cc9de9911c36f977fc65f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <sys/sendfile.h>
#include "syscall.h"

ssize_t sendfile(int out_fd, int in_fd, off_t *ofs, size_t count)
{
	return syscall(SYS_sendfile, out_fd, in_fd, ofs, count);
}


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