Skip to main content

xila_process_parent_id

Function xila_process_parent_id 

Source
pub unsafe extern "C" fn xila_process_parent_id(
    process: *const Process,
    id: *mut u32,
) -> Status
Expand description

Read the identifier of the process that spawned this one. A process whose parent has exited is adopted by the root task, identifier zero.

ยงSafety

Process must be a live capability and the output aligned and writable.