Searched refs:child_proc (Results 1 – 1 of 1) sorted by relevance
89 struct process_control_block *child_proc = NULL; in c_sys_wait4() local95 child_proc = process_find_pcb_by_pid(pid); in c_sys_wait4()97 if (child_proc == NULL) in c_sys_wait4()107 while (child_proc->state != PROC_ZOMBIE) in c_sys_wait4()112 *status = child_proc->exit_code; in c_sys_wait4()115 process_release_pcb(child_proc); in c_sys_wait4()