zephyr::raw

Function k_mem_free_get

source
pub unsafe extern "C" fn k_mem_free_get() -> usize
Expand description

Return the amount of free memory available

The returned value will reflect how many free RAM page frames are available. If demand paging is enabled, it may still be possible to allocate more.

The information reported by this function may go stale immediately if concurrent memory mappings or page-ins take place.

@return Free physical RAM, in bytes