blob: 10844f3c390dacdc6cafe97e45a8cea415c3a7fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* -------------------------------------------
Copyright (C) 2024, EL Mahrouss Logic, all rights reserved.
File: Macros.h
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);
|