OLD | NEW |
1 #include <fcntl.h> | 1 #include <fcntl.h> |
2 #include "syscall.h" | 2 #include "syscall.h" |
3 #include "libc.h" | 3 #include "libc.h" |
4 | 4 |
5 int posix_fadvise(int fd, off_t base, off_t len, int advice) | 5 int posix_fadvise(int fd, off_t base, off_t len, int advice) { |
6 { | 6 return -(__syscall)(SYS_fadvise, fd, __SYSCALL_LL_O(base), |
7 » return -(__syscall)(SYS_fadvise, fd, __SYSCALL_LL_O(base), | 7 __SYSCALL_LL_E(len), advice); |
8 » » __SYSCALL_LL_E(len), advice); | |
9 } | 8 } |
10 | 9 |
11 LFS64(posix_fadvise); | 10 LFS64(posix_fadvise); |
OLD | NEW |