diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-31 01:48:31 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-31 01:52:50 -0400 |
commit | 366d918f863bce207616b9bcc1bdc44b60011576 (patch) | |
tree | 811d56199266ee3ca69e2d42da656047a7093695 /sys/include | |
parent | 1795093325ce5f77196d3417789086909f2d7f92 (diff) |
kernel: proc: Add proc_reap() for zombies, etc
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/proc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h index 37cf413..25f5fd3 100644 --- a/sys/include/sys/proc.h +++ b/sys/include/sys/proc.h @@ -88,6 +88,8 @@ struct proc { struct proc *this_td(void); struct proc *get_child(struct proc *cur, pid_t pid); +void proc_reap(struct proc *td); + int md_spawn(struct proc *p, struct proc *parent, uintptr_t ip); scret_t sys_spawn(struct syscall_args *scargs); |