linux GLIBC add malloc_trim fn.

This commit is contained in:
David Carlier 2022-01-08 15:54:31 +00:00
parent 1f1ebd5b80
commit 95e74dd173
2 changed files with 2 additions and 0 deletions

View file

@ -595,6 +595,7 @@ lio_listio
mallinfo
mallinfo2
malloc_info
malloc_trim
malloc_usable_size
mallopt
nl_mmap_hdr

View file

@ -1431,6 +1431,7 @@ extern "C" {
extra_info: *mut *mut ::c_void,
flags: ::c_int,
) -> ::c_int;
pub fn malloc_trim(__pad: ::size_t) -> ::c_int;
}
cfg_if! {