aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/syscall.h
diff options
context:
space:
mode:
authorMarvin Borner2020-05-02 15:44:11 +0200
committerMarvin Borner2020-05-02 15:44:11 +0200
commitaa8a8811818331cf511681327e3ba95e456f0d33 (patch)
tree852c314dae76e756863f94639ff45eff72834d5d /src/userspace/libc/syscall.h
parent2a0e810a473dea57fd1cd53ea424b61269c029ba (diff)
Added many syscalls to get better POSIX compliance
Diffstat (limited to 'src/userspace/libc/syscall.h')
-rw-r--r--src/userspace/libc/syscall.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/userspace/libc/syscall.h b/src/userspace/libc/syscall.h
index e8ab95a..262e05a 100644
--- a/src/userspace/libc/syscall.h
+++ b/src/userspace/libc/syscall.h
@@ -70,16 +70,20 @@
*/
DECL_SYSCALL0(halt);
-DECL_SYSCALL1(exec, char *);
+DECL_SYSCALL1(exit, u32);
+
+DECL_SYSCALL0(fork);
+
+DECL_SYSCALL4(read, char *, u32, u32, char *);
-DECL_SYSCALL1(putch, char *);
+DECL_SYSCALL4(write, char *, u32, u32, char *);
-DECL_SYSCALL0(scancode);
+DECL_SYSCALL1(exec, char *);
+
+DECL_SYSCALL0(get_pid);
DECL_SYSCALL1(malloc, u32);
DECL_SYSCALL1(free, u32);
-DECL_SYSCALL0(pointers);
-
#endif \ No newline at end of file