Function esp_idf_svc::sys::heap_caps_get_largest_free_block
source ยท pub unsafe extern "C" fn heap_caps_get_largest_free_block(
caps: u32,
) -> usize
Expand description
@brief Get the largest free block of memory able to be allocated with the given capabilities.
Returns the largest value of s
for which heap_caps_malloc(s, caps)
will succeed.
@param caps Bitwise OR of MALLOC_CAP_* flags indicating the type of memory
@return Size of the largest free block in bytes.