summaryrefslogtreecommitdiffhomepage
path: root/dev/SCIKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/SCIKit')
-rw-r--r--dev/SCIKit/LPC.h1
-rw-r--r--dev/SCIKit/SysCalls.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/dev/SCIKit/LPC.h b/dev/SCIKit/LPC.h
index 56bb3804..af59804b 100644
--- a/dev/SCIKit/LPC.h
+++ b/dev/SCIKit/LPC.h
@@ -10,6 +10,7 @@
/// @file LPC.h
/// @brief Local Process Code type and values.
+
#define ErrLocalIsOk() (kLastError == kErrorSuccess)
#define ErrLocalFailed() (kLastError != kErrorSuccess)
#define ErrLocal() (kLastError)
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