diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-27 20:32:44 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-27 20:32:44 -0400 |
commit | 6040f06a92dfef6cdefa38cd61226adac351579f (patch) | |
tree | 9087302ec480e2324a115ec14eaf3b24b1d251ea /lib | |
parent | 3a976c607e0bfc743a182447a688316594727197 (diff) |
libc: syscall: Add more syscall defines
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/include/sys/syscall.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/include/sys/syscall.h b/lib/libc/include/sys/syscall.h index 26cbc5a..55d7bbf 100644 --- a/lib/libc/include/sys/syscall.h +++ b/lib/libc/include/sys/syscall.h @@ -36,6 +36,10 @@ #define SYS_exit 1 #define SYS_write 2 +#define SYS_open 3 +#define SYS_close 4 +#define SYS_read 5 +#define SYS_lseek 6 #if !defined(__ASSEMBLER__) __attribute__((__always_inline__)) |