Function libmimalloc_sys::mi_calloc_aligned

source ·
pub unsafe extern "C" fn mi_calloc_aligned(
    count: usize,
    size: usize,
    alignment: usize
) -> *mut c_void
Expand description

Allocate size * count bytes aligned by alignment.

Return pointer to the allocated memory or null if out of memory or if size * count overflows.

Returns a unique pointer if called with size * count 0.