Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #include <sys/sendfile.h> | 1 #include <sys/sendfile.h> |
| 2 #include "syscall.h" | 2 #include "syscall.h" |
| 3 #include "libc.h" | 3 #include "libc.h" |
| 4 | 4 |
| 5 ssize_t sendfile(int out_fd, int in_fd, off_t *ofs, size_t count) | 5 ssize_t sendfile(int out_fd, int in_fd, off_t* ofs, size_t count) { |
| 6 { | 6 return syscall(SYS_sendfile, out_fd, in_fd, ofs, count); |
| 7 » return syscall(SYS_sendfile, out_fd, in_fd, ofs, count); | |
| 8 } | 7 } |
| 9 | 8 |
| 10 LFS64(sendfile); | 9 LFS64(sendfile); |
| OLD | NEW |