Searched refs:child_proc (Results 1 – 1 of 1) sorted by relevance
532 struct process_control_block *child_proc = NULL; in sys_wait4() local538 child_proc = process_find_pcb_by_pid(pid); in sys_wait4()540 if (child_proc == NULL) in sys_wait4()548 while (child_proc->state != PROC_ZOMBIE) in sys_wait4()553 *status = child_proc->exit_code; in sys_wait4()556 process_release_pcb(child_proc); in sys_wait4()