⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

collect_zombie

Function collect_zombie 

Source
pub fn collect_zombie(
    child_pid: ProcessId,
    parent_pid: ProcessId,
) -> Result<(), KernelError>
Expand description

Clean up a zombie process after a successful wait.

Removes the child from the parent’s children list and from the global process table.