aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/include
diff options
context:
space:
mode:
Diffstat (limited to 'libs/kstd/include')
-rw-r--r--libs/kstd/include/kstd/cstring19
1 files changed, 19 insertions, 0 deletions
diff --git a/libs/kstd/include/kstd/cstring b/libs/kstd/include/kstd/cstring
new file mode 100644
index 0000000..e97ecac
--- /dev/null
+++ b/libs/kstd/include/kstd/cstring
@@ -0,0 +1,19 @@
+#ifndef KSTD_CSTRING
+#define KSTD_CSTRING
+
+#include <cstddef>
+
+namespace kstd::libc
+{
+
+ extern "C"
+ {
+ auto memcpy(void * dest, void const * src, std::size_t size) -> void *;
+ auto memmove(void * dest, void const * src, std::size_t size) -> void *;
+ auto memcmp(void const * lhs, void const * rhs, std::size_t size) -> std::size_t;
+ auto strlen(char const * string) -> std::size_t;
+ }
+
+} // namespace kstd::libc
+
+#endif \ No newline at end of file