Function esp_idf_hal::sys::wifi_calloc
source ยท pub unsafe extern "C" fn wifi_calloc(
n: usize,
size: usize,
) -> *mut c_void
Expand description
@brief Callocate memory for WiFi driver
@attention This API is not used for DMA memory allocation.
@param size_t n : Number of continuing chunks of memory to allocate @param size_t size : Size, in bytes, of the amount of memory to allocate
@return A pointer to the memory allocated on success, NULL on failure