Function esp_idf_svc::hal::sys::heap_caps_calloc_prefer
source ยท pub unsafe extern "C" fn heap_caps_calloc_prefer(
n: usize,
size: usize,
num: usize,
...
) -> *mut c_void
Expand description
@brief Allocate a chunk of memory as preference in decreasing order.
@param n Number of continuing chunks of memory to allocate @param size Size, in bytes, of a chunk of memory to allocate @param num Number of variable paramters
@return A pointer to the memory allocated on success, NULL on failure