summaryrefslogtreecommitdiff
path: root/kernel/syscalls.h
diff options
context:
space:
mode:
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??