5 int posix_fadvise(int fd, off_t base, off_t len, int advice)
7 #if defined(SYSCALL_FADVISE_6_ARG)
8 /* Some archs, at least arm and powerpc, have the syscall
9 * arguments reordered to avoid needing 7 argument registers
10 * due to 64-bit argument alignment. */
11 return -__syscall(SYS_fadvise, fd, advice,
12 __SYSCALL_LL_E(base), __SYSCALL_LL_E(len));
14 return -__syscall(SYS_fadvise, fd, __SYSCALL_LL_O(base),
15 __SYSCALL_LL_E(len), advice);