summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/proc.h1
-rw-r--r--sys/include/sys/syscall.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h
index decc615..972d3c4 100644
--- a/sys/include/sys/proc.h
+++ b/sys/include/sys/proc.h
@@ -119,6 +119,7 @@ pid_t getppid(void);
scret_t sys_getpid(struct syscall_args *scargs);
scret_t sys_getppid(struct syscall_args *scargs);
+scret_t sys_waitpid(struct syscall_args *scargs);
int md_spawn(struct proc *p, struct proc *parent, uintptr_t ip);
diff --git a/sys/include/sys/syscall.h b/sys/include/sys/syscall.h
index 51c2579..02629a9 100644
--- a/sys/include/sys/syscall.h
+++ b/sys/include/sys/syscall.h
@@ -58,6 +58,7 @@
#define SYS_getppid 17
#define SYS_setuid 18
#define SYS_getuid 19
+#define SYS_waitpid 20
#if defined(_KERNEL)
/* Syscall return value and arg type */