We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e5d7e8 + f3e174c commit 95304c4Copy full SHA for 95304c4
src/unix/haiku/mod.rs
@@ -1441,6 +1441,8 @@ extern "C" {
1441
pub fn globfree(pglob: *mut ::glob_t);
1442
pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::c_void) -> ::c_int;
1443
pub fn posix_madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int) -> ::c_int;
1444
+ pub fn posix_fadvise(fd: ::c_int, offset: ::off_t, len: ::off_t, advice: ::c_int) -> ::c_int;
1445
+ pub fn posix_fallocate(fd: ::c_int, offset: ::off_t, len: ::off_t) -> ::c_int;
1446
1447
pub fn shm_open(name: *const ::c_char, oflag: ::c_int, mode: ::mode_t) -> ::c_int;
1448
pub fn shm_unlink(name: *const ::c_char) -> ::c_int;
0 commit comments