From 56a97ff6398c03de22dabd7b93f54b1292f66b97 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 15 Apr 2025 16:54:06 +0200 Subject: dev, user: user.sys refactors. Signed-off-by: Amlal El Mahrouss --- dev/user/SystemCalls.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'dev/user/SystemCalls.h') diff --git a/dev/user/SystemCalls.h b/dev/user/SystemCalls.h index 97a49469..df91bc1e 100644 --- a/dev/user/SystemCalls.h +++ b/dev/user/SystemCalls.h @@ -322,14 +322,17 @@ IMPORT_C SInt32 SchedBreakPoint(Void); // @brief Filesystem API. // ------------------------------------------------------------------------------------------ // -IMPORT_C BOOL FsCopy(const char* path, const char* dst); -IMPORT_C BOOL FsMove(const char* path, const char* dst); +IMPORT_C BOOL FsCopy(const Char* path, const Char* dst); -IMPORT_C BOOL FsExists(const char* path); +IMPORT_C BOOL FsMove(const Char* path, const Char* dst); -IMPORT_C BOOL FsCreateDir(const char* path); -IMPORT_C BOOL FsCreateFile(const char* path); -IMPORT_C BOOL FsCreateAlias(const char* path, const char* from); +IMPORT_C BOOL FsExists(const Char* path); + +IMPORT_C BOOL FsCreateDir(const Char* path); + +IMPORT_C BOOL FsCreateFile(const Char* path); + +IMPORT_C BOOL FsCreateAlias(const Char* path, const Char* from); // ------------------------------------------------------------------------------------------ // // @brief Format API. @@ -337,6 +340,6 @@ IMPORT_C BOOL FsCreateAlias(const char* path, const char* from); IMPORT_C Char* StrFmt(const Char* fmt, ...); -IMPORT_C UInt64 MathToNumber(const Char* in, const Char** endp, const SInt16 base); +IMPORT_C UInt64 StrMathToNumber(const Char* in, const Char** endp, const SInt16 base); #endif // ifndef SCI_SCI_H -- cgit v1.2.3