Skip to content
Snippets Groups Projects
Commit fe3968fb authored by Dan Burkert's avatar Dan Burkert
Browse files

Linux readahead(2) binding

parent 85a76f8e
No related branches found
No related tags found
No related merge requests found
......@@ -316,6 +316,8 @@ extern {
offset: ::off_t, len: ::off_t) -> ::c_int;
pub fn posix_fallocate(fd: ::c_int, offset: ::off_t,
len: ::off_t) -> ::c_int;
pub fn readahead(fd: ::c_int, offset: ::off64_t,
count: ::size_t) -> ::ssize_t;
}
cfg_if! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment