summaryrefslogtreecommitdiffhomepage
path: root/dev/SCIKit/SysCalls.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-11-09 10:42:36 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-11-09 10:42:36 +0100
commit2309e65eed070ee5e03e02a35fd89af48fc90fbe (patch)
tree5769f1bd181ca413ea05093b49efff6288fc89b0 /dev/SCIKit/SysCalls.h
parent84d91a9fd9c3363d0e0db581356d4cd58c03d1db (diff)
IMP: Adding syscalls to SCIKit.
Diffstat (limited to 'dev/SCIKit/SysCalls.h')
-rw-r--r--dev/SCIKit/SysCalls.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev/SCIKit/SysCalls.h b/dev/SCIKit/SysCalls.h
index 6504c9c2..563c8d69 100644
--- a/dev/SCIKit/SysCalls.h
+++ b/dev/SCIKit/SysCalls.h
@@ -8,3 +8,13 @@ Purpose: SCIKit Macros header.
------------------------------------------- */
#pragma once
+
+#include <SCIKit/Macros.h>
+
+/// @brief Here we define filesystem calls.
+
+SYSCALL_DECL(FCloseFile, const SCIObject handle);
+SYSCALL_DECL(FOpenFile, const Char* name, const Char* rest);
+SYSCALL_DECL(FSeekFile, const SCIObject handle, const SizeT pos);
+SYSCALL_DECL(FReadFile, const SCIObject handle, const Char* out_buf, const SizeT out_buf_size);
+SYSCALL_DECL(FWriteFile, const SCIObject handle, const Char* out_buf, const SizeT out_buf_size); \ No newline at end of file