Function libmimalloc_sys::mi_zalloc_aligned
source ยท pub unsafe extern "C" fn mi_zalloc_aligned(
size: usize,
alignment: usize,
) -> *mut c_void
Expand description
Allocate size
bytes aligned by alignment
, initialized to zero.
Return pointer to the allocated memory or null if out of memory.
Returns a unique pointer if called with size
0.