Function esp_idf_svc::sys::multi_heap_aligned_alloc

source ยท
pub unsafe extern "C" fn multi_heap_aligned_alloc(
    heap: *mut multi_heap_info,
    size: usize,
    alignment: usize,
) -> *mut c_void
Expand description

@brief allocate a chunk of memory with specific alignment

@param heap Handle to a registered heap. @param size size in bytes of memory chunk @param alignment how the memory must be aligned

@return pointer to the memory allocated, NULL on failure