summaryrefslogtreecommitdiffhomepage
path: root/dev/libDDK/DriverKit/str.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-08-25 10:28:07 +0200
committerGitHub <noreply@github.com>2025-08-25 10:28:07 +0200
commit1057fd299e17fcc04f6b3a1aa3ace1026f8652a0 (patch)
treea663c7dcd26779295ce0d9681418964f802f2d14 /dev/libDDK/DriverKit/str.h
parent1a32b9307357ac0fc9095e853b2b6d94f9fe62bb (diff)
parent328b34360ab8b2462ea5858441693277b3d23f08 (diff)
Merge pull request #56 from nekernel-org/dev
Errata: v0.0.4
Diffstat (limited to 'dev/libDDK/DriverKit/str.h')
-rw-r--r--dev/libDDK/DriverKit/str.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev/libDDK/DriverKit/str.h b/dev/libDDK/DriverKit/str.h
new file mode 100644
index 00000000..b2c0ce72
--- /dev/null
+++ b/dev/libDDK/DriverKit/str.h
@@ -0,0 +1,17 @@
+/* -------------------------------------------
+
+ Copyright Amlal El Mahrouss.
+
+ Purpose: DDK Strings.
+
+------------------------------------------- */
+
+#pragma once
+
+#include <DriverKit/ddk.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);