mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
214 B
11 lines
214 B
|
15 years ago
|
#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);
|