summaryrefslogtreecommitdiffhomepage
path: root/DriverKit/KernelString.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-27 20:45:46 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-27 20:45:46 +0200
commit9db58da40cfcb6643412bfae25aefc0cd1077f9d (patch)
treec6664fc649968ca1be7ddc59dfe3e9a7dd0f3ebc /DriverKit/KernelString.h
parentce84bea215424ff36a2c18cab67835edfa8f71b5 (diff)
MHR-23: Improve project structure, make it better.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'DriverKit/KernelString.h')
-rw-r--r--DriverKit/KernelString.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/DriverKit/KernelString.h b/DriverKit/KernelString.h
new file mode 100644
index 00000000..db063a1b
--- /dev/null
+++ b/DriverKit/KernelString.h
@@ -0,0 +1,16 @@
+/* -------------------------------------------
+
+ Copyright SoftwareLabs
+
+ Purpose: Kernel Strings.
+
+------------------------------------------- */
+
+#pragma once
+
+#include <DriverKit/KernelStd.h>
+
+/// @brief DriverKit equivalent of POSIX's string.h.
+
+DK_EXTERN size_t kernelStringLength(const char* str);
+DK_EXTERN int kernelStringCopy(char* dst, const char* src, size_t len);