aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/syscall.c
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/userspace/libc/syscall.c
parent3a97fef4bb4780e4bc2423699063d40cbf5da923 (diff)
Replaced fork() with spawn()!
Who needs forks anyway
Diffstat (limited to 'src/userspace/libc/syscall.c')
-rw-r--r--src/userspace/libc/syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userspace/libc/syscall.c b/src/userspace/libc/syscall.c
index 5a9fda8..fb00a12 100644
--- a/src/userspace/libc/syscall.c
+++ b/src/userspace/libc/syscall.c
@@ -9,14 +9,14 @@ DEFN_SYSCALL0(halt, SYS_HALT);
DEFN_SYSCALL1(exit, SYS_EXIT, u32);
-DEFN_SYSCALL0(fork, SYS_FORK);
-
DEFN_SYSCALL4(read, SYS_READ, char *, u32, u32, u8 *);
DEFN_SYSCALL4(write, SYS_WRITE, char *, u32, u32, u8 *);
DEFN_SYSCALL1(exec, SYS_EXEC, char *);
+DEFN_SYSCALL1(spawn, SYS_SPAWN, char *);
+
DEFN_SYSCALL3(wait, SYS_WAIT, u32, u32 *, u32);
DEFN_SYSCALL0(get_pid, SYS_GET_PID);