From 9728334b0fbbcb3f13ea9a72918edf050c9d5560 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 23 Jun 2024 22:38:25 -0400 Subject: kernel: Add fork1() Signed-off-by: Ian Moffett --- sys/include/sys/proc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h index db41a4b..c74bca5 100644 --- a/sys/include/sys/proc.h +++ b/sys/include/sys/proc.h @@ -53,6 +53,7 @@ struct proc { struct proc *this_td(void); int md_td_init(struct proc *p, struct proc *parent, uintptr_t ip); +int fork1(struct proc *cur, int flags, void(*ip)(void), struct proc **newprocp); #endif /* _KERNEL */ #endif /* !_SYS_PROC_H_ */ -- cgit v1.2.3