aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.h
diff options
context:
space:
mode:
authorMarvin Borner2020-05-09 17:39:31 +0200
committerMarvin Borner2020-05-09 17:39:31 +0200
commit09a66e91ec9e8a677aa48f27798753084f213713 (patch)
tree9685a13b459e60d830179c565417ed72ae855ebe /src/kernel/syscall/syscall.h
parent3a97fef4bb4780e4bc2423699063d40cbf5da923 (diff)
Replaced fork() with spawn()!
Who needs forks anyway
Diffstat (limited to 'src/kernel/syscall/syscall.h')
-rw-r--r--src/kernel/syscall/syscall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/syscall/syscall.h b/src/kernel/syscall/syscall.h
index 7e37c81..d2c50c0 100644
--- a/src/kernel/syscall/syscall.h
+++ b/src/kernel/syscall/syscall.h
@@ -10,14 +10,14 @@ void syscalls_install();
u32 sys_exit(u32 code);
-u32 sys_fork(struct regs *r);
-
u32 sys_read(char *path, u32 offset, u32 count, u8 *buf);
u32 sys_write(char *path, u32 offset, u32 count, u8 *buf);
u32 sys_exec(char *path);
+u32 sys_spawn(char *path);
+
u32 sys_wait(u32 pid, u32 *status, u32 options);
u32 sys_get_pid();