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.
1 parent 42faa24 commit f5d7ab8Copy full SHA for f5d7ab8
src/unix/linux_like/linux/musl/mod.rs
@@ -751,6 +751,7 @@ extern "C" {
751
752
pub fn memfd_create(name: *const ::c_char, flags: ::c_uint) -> ::c_int;
753
pub fn mlock2(addr: *const ::c_void, len: ::size_t, flags: ::c_uint) -> ::c_int;
754
+ pub fn malloc_usable_size(ptr: *mut ::c_void) -> ::size_t;
755
}
756
757
cfg_if! {
0 commit comments