zephyr::raw

Function k_mem_domain_remove_partition

source
pub unsafe extern "C" fn k_mem_domain_remove_partition(
    domain: *mut k_mem_domain,
    part: *mut k_mem_partition,
) -> i32
Expand description

@brief Remove a memory partition from a memory domain.

Remove a memory partition from a memory domain.

@param domain The memory domain to be removed a memory partition. @param part The memory partition to be removed

@retval 0 if successful @retval -EINVAL if invalid parameters supplied @retval -ENOENT if no matching partition found