Function esp_idf_hal::sys::wifi_realloc
source ยท pub unsafe extern "C" fn wifi_realloc(
ptr: *mut c_void,
size: usize,
) -> *mut c_void
Expand description
@brief Reallocate a chunk of memory for WiFi driver
@attention This API is not used for DMA memory allocation.
@param void * ptr : Pointer to previously allocated memory, or NULL for a new 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