pub unsafe extern "C" fn heap_caps_aligned_alloc(
    alignment: usize,
    size: usize,
    caps: u32
) -> *mut c_void
Expand description

@brief Allocate an aligned chunk of memory which has the given capabilities

Equivalent semantics to libc aligned_alloc(), for capability-aware memory. @param alignment How the pointer received needs to be aligned must be a power of two @param size Size, in bytes, of the amount of memory to allocate @param caps Bitwise OR of MALLOC_CAP_* flags indicating the type of memory to be returned

@return A pointer to the memory allocated on success, NULL on failure