summaryrefslogtreecommitdiff
path: root/src/linux/sendfile.c
blob: bfbc40ae61d4da817ae7784527fa056dabb1e31f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

ssize_t sendfile(int out_fd, int in_fd, off_t *ofs, size_t count)
{
	return syscall4(__NR_sendfile, out_fd, in_fd, (long)ofs, count);
}

LFS64(sendfile);