pub unsafe extern "C" fn k_calloc(
nmemb: usize,
size: usize,
) -> *mut c_void
Expand description
@brief Allocate memory from heap, array style
This routine provides traditional calloc() semantics. Memory is allocated from the heap memory pool and zeroed.
@param nmemb Number of elements in the requested array @param size Size of each array element (in bytes).
@return Address of the allocated memory if successful; otherwise NULL.