aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-23 22:38:25 -0400
committerIan Moffett <ian@osmora.org>2024-06-23 22:41:29 -0400
commit9728334b0fbbcb3f13ea9a72918edf050c9d5560 (patch)
treebb0415d6a109f569c14929e9ab0d8610a2a3dc51 /sys/include
parent84f6abd193211b30c62a7c708edaccbe3ede8ee7 (diff)
kernel: Add fork1()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/proc.h1
1 files changed, 1 insertions, 0 deletions
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_ */