diff options
author | Anton Kling <anton@kling.gg> | 2024-06-27 18:59:49 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-06-27 19:07:50 +0200 |
commit | d315a82dbed1fd288702ebbcb869c744476433a8 (patch) | |
tree | b58ec3831daa0abf0dd2dd5dd4395e53565bd1c7 /userland/libc/include/syscall.h | |
parent | 556d1e44fef369a7200cc045f337ac3db2f9eab5 (diff) |
stuff
Diffstat (limited to 'userland/libc/include/syscall.h')
-rw-r--r-- | userland/libc/include/syscall.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h index fee2e43..e1c0b07 100644 --- a/userland/libc/include/syscall.h +++ b/userland/libc/include/syscall.h @@ -6,7 +6,7 @@ #include <sys/types.h> #define SYS_OPEN 0 -#define SYS_MREAD 1 +#define SYS_READ 1 #define SYS_WRITE 2 #define SYS_PREAD 3 #define SYS_PWRITE 4 @@ -46,6 +46,7 @@ #define SYS_CONNECT 38 #define SYS_SETSOCKOPT 39 #define SYS_GETPEERNAME 40 +#define SYS_FCNTL 41 int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx, uint32_t esi, uint32_t edi); |