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 7b5afd2 + f5d7ab8 commit 78d6835Copy full SHA for 78d6835
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