posix_fadvise.c 198 字节
Newer Older
1 2 3 4 5
#include <fcntl.h>
#include "syscall.h"

int posix_fadvise(int fd, off_t base, off_t len, int advice)
{
6 7
	return -(__syscall)(SYS_fadvise, fd, __SYSCALL_LL_O(base),
		__SYSCALL_LL_E(len), advice);
8
}