summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-27 17:39:53 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-27 17:39:53 +0200
commite32c206fe1d17eb96339b280c7f061e7201bd15b (patch)
treedc9a4025f5f2533db169a92a24c7449e5665ad8d
parent1c0fd80bf604aa2e04ed2949340ebd837d1a5aef (diff)
IMP: UTFChar and SizeT.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
-rw-r--r--Comm/newstd.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/Comm/newstd.hxx b/Comm/newstd.hxx
index 298f93fe..a56d1993 100644
--- a/Comm/newstd.hxx
+++ b/Comm/newstd.hxx
@@ -37,11 +37,15 @@ typedef __UINT32_TYPE__ UInt32;
typedef __UINT16_TYPE__ UInt16;
typedef __UINT8_TYPE__ UInt8;
+typedef __SIZE_TYPE__ SizeT;
+
typedef __INT64_TYPE__ SInt64;
typedef __INT32_TYPE__ SInt32;
typedef __INT16_TYPE__ SInt16;
typedef __INT8_TYPE__ SInt8;
+typedef char UTFChar;
+
/**
@brief Standard library class.
*/
@@ -67,11 +71,11 @@ public:
// THOSE MAY REQUIRE PERMISSIONS FROM THE USER. //
- static OSType Open(const char* path);
- static UInt0 Close(OSType fd);
+ static OSType Open(const char* path, const char* restr);
+ static UInt0 Close(OSType descriptorType);
static NURL* Execute(const NURL* command);
- static UInt0* Read(const char* forkName, OSType fd);
- static UInt0* Write(const char* forkName, OSType fd);
+ static UInt0* Read(const UTFChar* cmdNameOrData, SizeT cmdSize, OSType descriptorType);
+ static UInt0* Write(const UTFChar* cmdNameOrData, SizeT cmdSize, OSType descriptorType);
};
/**