Function esp_idf_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