Linux readahead(2) binding

This commit is contained in:
Dan Burkert 2015-11-04 22:20:29 -08:00
parent 85a76f8eb2
commit fe3968fb8f

View File

@ -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! {