zephyr::raw

Function sys_heap_runtime_stats_get

Source
pub unsafe extern "C" fn sys_heap_runtime_stats_get(
    heap: *mut sys_heap,
    stats: *mut sys_memory_stats,
) -> i32
Expand description

@brief Get the runtime statistics of a sys_heap

@param heap Pointer to specified sys_heap @param stats Pointer to struct to copy statistics into @return -EINVAL if null pointers, otherwise 0