summaryrefslogtreecommitdiffhomepage
path: root/dev/LibSCI/SysCalls.h
blob: 105560000a213f904228249e11d8bac75d11b00e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* -------------------------------------------

Copyright (C) 2024, Theater Quality Inc, all rights reserved.

File: Macros.h
Purpose: LibSCI Macros header.

------------------------------------------- */

#pragma once

#include <Macros.h>

/// @brief In this file 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);