OLD | NEW |
1 #define _GNU_SOURCE | 1 #define _GNU_SOURCE |
2 #include <fcntl.h> | 2 #include <fcntl.h> |
3 #include "syscall.h" | 3 #include "syscall.h" |
4 | 4 |
5 ssize_t splice(int fd_in, off_t *off_in, int fd_out, off_t *off_out, size_t len,
unsigned flags) | 5 ssize_t splice(int fd_in, |
6 { | 6 off_t* off_in, |
7 » return syscall(SYS_splice, fd_in, off_in, fd_out, off_out, len, flags); | 7 int fd_out, |
| 8 off_t* off_out, |
| 9 size_t len, |
| 10 unsigned flags) { |
| 11 return syscall(SYS_splice, fd_in, off_in, fd_out, off_out, len, flags); |
8 } | 12 } |
OLD | NEW |