summaryrefslogtreecommitdiff
path: root/kernel/syscalls.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-13 02:14:46 +0200
committerMiguel <m.i@gmx.at>2018-09-13 02:14:46 +0200
commit6a886cb2a4af303fae01b61a2e6590ca22bb4a3e (patch)
treeaff66570735d0869dcdf7b98ebd5aa595213c81d /kernel/syscalls.h
parentb669230cae92f061bc36f25cd01dd84d276d226b (diff)
reentrenacy for newilb
Diffstat (limited to 'kernel/syscalls.h')
-rw-r--r--kernel/syscalls.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/syscalls.h b/kernel/syscalls.h
index 9018852..8b88e6a 100644
--- a/kernel/syscalls.h
+++ b/kernel/syscalls.h
@@ -1,12 +1,14 @@
#define SYSCALL_EXIT 60
-#define SYSCALL_CLOSE 66
#define SYSCALL_EXECVE 64
#define SYSCALL_FORK 72
+
+#define SYSCALL_CLOSE 66
+#define SYSCALL_OPEN 65
+
#define SYSCALL_GETPID 78
#define SYSCALL_ISATTY 68
#define SYSCALL_LINK 82
#define SYSCALL_LSEEK 69
-#define SYSCALL_OPEN 65
#define SYSCALL_READ 62
#define SYSCALL_SBRK 70
#define SYSCALL_STAT 74
@@ -28,7 +30,6 @@ int chk_syscall_read(int file, char *buf, int len);
int syscall_open(char *name, int flags, int mode);
int syscall_write(int file, char *buf, int len);
-
// new planned syscalls for graphx
// TODO: split ncurses and our syscalls??