Skip to main content

mi_zalloc_aligned

Function mi_zalloc_aligned 

Source
pub unsafe extern "C" fn mi_zalloc_aligned(
    size: usize,
    align: usize,
) -> *mut c_void
Expand description

Allocate size zeroed bytes with an alignment of align, initialized to zero.

Returns a pointer to the allocated memory or null if out of memory. The pointer will still be unique if size is 0.`