diff options
Diffstat (limited to 'src/userspace/syscall.h')
-rw-r--r-- | src/userspace/syscall.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/userspace/syscall.h b/src/userspace/syscall.h index 162b219..6750093 100644 --- a/src/userspace/syscall.h +++ b/src/userspace/syscall.h @@ -62,11 +62,15 @@ /** * DECLARATIONS */ -DECL_SYSCALL3(write, int, const char *, int); +DECL_SYSCALL1(write, char *); + +DECL_SYSCALL0(read); /** * DEFINITIONS */ -DEFN_SYSCALL3(write, 1, int, const char *, int); +DEFN_SYSCALL1(write, 1, char *); + +DEFN_SYSCALL0(read, 2); #endif |