aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/sys/syscall.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-21 19:53:38 -0400
committerIan Moffett <ian@osmora.org>2024-03-21 19:53:38 -0400
commit1a5e132d695fdd758b6add12714c695c5f2b40f1 (patch)
tree451544e213075492f3e82b95a6403e0bcbc6de23 /lib/libc/include/sys/syscall.h
parentf0a24fde5bff40ff9f833a5b004a833867af1cfe (diff)
libc: Add SYS_write
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include/sys/syscall.h')
-rw-r--r--lib/libc/include/sys/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/include/sys/syscall.h b/lib/libc/include/sys/syscall.h
index 34f762d..26cbc5a 100644
--- a/lib/libc/include/sys/syscall.h
+++ b/lib/libc/include/sys/syscall.h
@@ -35,6 +35,7 @@
#endif
#define SYS_exit 1
+#define SYS_write 2
#if !defined(__ASSEMBLER__)
__attribute__((__always_inline__))