summaryrefslogtreecommitdiff
path: root/src/linux/sendfile.c
blob: d63f4197bb8b8db64470e02b4b157d05058feaef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <sys/sendfile.h>
#include "syscall.h"
#include "libc.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);
}

LFS64(sendfile);