initial check-in, version 0.5.0
This commit is contained in:
commit
0b44a0315b
1021 changed files with 45711 additions and 0 deletions
10
src/linux/sendfile.c
Normal file
10
src/linux/sendfile.c
Normal file
|
|
@ -0,0 +1,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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue