summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/proc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h
index 241d990..7aa04b2 100644
--- a/sys/include/sys/proc.h
+++ b/sys/include/sys/proc.h
@@ -90,6 +90,12 @@ struct proc *this_td(void);
struct proc *get_child(struct proc *cur, pid_t pid);
void proc_reap(struct proc *td);
+pid_t getpid(void);
+pid_t getppid(void);
+
+scret_t sys_getpid(struct syscall_args *scargs);
+scret_t sys_getppid(struct syscall_args *scargs);
+
int md_spawn(struct proc *p, struct proc *parent, uintptr_t ip);
scret_t sys_spawn(struct syscall_args *scargs);