zephyr::raw

Function sys_heap_array_save

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

@brief Save the heap pointer

The heap pointer is saved into an internal array, if there is space.

@param heap Heap to save @return -EINVAL if null pointer or array is full, otherwise 0