Adds Linux's remap_file_pages .

Closes #899.
This commit is contained in:
gnzlbg 2018-01-17 18:10:43 +01:00
parent f8db1a0f47
commit bfd3bf34bb

View File

@ -1508,7 +1508,8 @@ extern {
-> ::c_int;
pub fn msync(addr: *mut ::c_void, len: ::size_t, flags: ::c_int) -> ::c_int;
pub fn remap_file_pages(addr: *mut ::c_void, size: ::size_t, prot: ::c_int,
pgoff: ::size_t, flags: ::c_int) -> ::c_int;
pub fn recvfrom(socket: ::c_int, buf: *mut ::c_void, len: ::size_t,
flags: ::c_int, addr: *mut ::sockaddr,
addrlen: *mut ::socklen_t) -> ::ssize_t;