From 6040f06a92dfef6cdefa38cd61226adac351579f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 27 Mar 2024 20:32:44 -0400 Subject: libc: syscall: Add more syscall defines Signed-off-by: Ian Moffett --- lib/libc/include/sys/syscall.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/libc/include/sys') 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__)) -- cgit v1.2.3