sendfile.c 206 B

12345678910
  1. #include <unistd.h>
  2. #include "syscall.h"
  3. #include "libc.h"
  4. ssize_t sendfile(int out_fd, int in_fd, off_t *ofs, size_t count)
  5. {
  6. return syscall(SYS_sendfile, out_fd, in_fd, ofs, count);
  7. }
  8. LFS64(sendfile);