[−][src]Function esp_idf_sys::heap_caps_get_largest_free_block
pub unsafe extern "C" fn heap_caps_get_largest_free_block(caps: u32) -> usize
@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 largest free block in bytes.