summaryrefslogtreecommitdiffhomepage
path: root/src/libDDK/DriverKit/String.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libDDK/DriverKit/String.h')
-rw-r--r--src/libDDK/DriverKit/String.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libDDK/DriverKit/String.h b/src/libDDK/DriverKit/String.h
new file mode 100644
index 00000000..5f56f95b
--- /dev/null
+++ b/src/libDDK/DriverKit/String.h
@@ -0,0 +1,16 @@
+// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (see LICENSE file)
+// Official repository: https://github.com/nekernel-org/nekernel
+
+#ifndef DRIVERKIT_STR_H
+#define DRIVERKIT_STR_H
+
+#include <DriverKit/DriverKit.h>
+
+/// @brief DDK equivalent of POSIX's string.h
+/// @file str.h
+
+DDK_EXTERN size_t kstrlen(const char* in);
+DDK_EXTERN int kstrncpy(char* dst, const char* src, size_t len);
+
+#endif