[−][src]Function esp_idf_sys::multi_heap_check
pub unsafe extern "C" fn multi_heap_check(
heap: multi_heap_handle_t,
print_errors: bool
) -> bool
@brief Check heap integrity
Walks the heap and checks all heap data structures are valid. If any errors are detected, an error-specific message can be optionally printed to stderr. Print behaviour can be overriden at compile time by defining MULTI_CHECK_FAIL_PRINTF in multi_heap_platform.h.
@param heap Handle to a registered heap. @param print_errors If true, errors will be printed to stderr. @return true if heap is valid, false otherwise.