musl-tcc/src/linux/sendfile.c
2022-03-20 16:48:53 +08:00

10 lines
211 B
C

#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);
}
weak_alias(sendfile, sendfile64);