Auto merge of #2777 - jjl:musl-malloc_usable_size, r=Amanieu
add malloc_usable_size for musl
This commit is contained in:
commit
78d6835374
|
@ -751,6 +751,7 @@ extern "C" {
|
|||
|
||||
pub fn memfd_create(name: *const ::c_char, flags: ::c_uint) -> ::c_int;
|
||||
pub fn mlock2(addr: *const ::c_void, len: ::size_t, flags: ::c_uint) -> ::c_int;
|
||||
pub fn malloc_usable_size(ptr: *mut ::c_void) -> ::size_t;
|
||||
}
|
||||
|
||||
cfg_if! {
|
||||
|
|
Loading…
Reference in a new issue