Function esp_idf_hal::sys::wifi_malloc
source ยท pub unsafe extern "C" fn wifi_malloc(size: usize) -> *mut c_void
Expand description
@brief Allocate a chunk of memory for WiFi driver
@attention This API is not used for DMA memory allocation.
@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