2011-04-20 15:20:22 -04:00
|
|
|
#include <fcntl.h>
|
|
|
|
#include "syscall.h"
|
|
|
|
|
|
|
|
int posix_fadvise(int fd, off_t base, off_t len, int advice)
|
|
|
|
{
|
2011-09-21 20:11:10 -04:00
|
|
|
return -(__syscall)(SYS_fadvise, fd, __SYSCALL_LL_O(base),
|
|
|
|
__SYSCALL_LL_E(len), advice);
|
2011-04-20 15:20:22 -04:00
|
|
|
}
|