riot_sys

Function os_mempool_is_sane

Source
pub unsafe extern "C" fn os_mempool_is_sane(
    mp: *const os_mempool,
) -> bool
Expand description

Performs an integrity check of the specified mempool. This function attempts to detect memory corruption in the specified memory pool.

@param mp The mempool to check.

@return true if the memory pool passes the integrity check; false if the memory pool is corrupt.