about summary refs log tree commit diff
path: root/src/linux/readahead.c
blob: 5c70bfd6e1aa787f3e3b162f75bdb45332c34950 (plain) (blame)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <fcntl.h>
#include "syscall.h"

ssize_t readahead(int fd, off_t pos, size_t len)
{
	return syscall(SYS_readahead, fd, __SYSCALL_LL_O(pos), len);
}