From 9db58da40cfcb6643412bfae25aefc0cd1077f9d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 27 May 2024 20:45:46 +0200 Subject: MHR-23: Improve project structure, make it better. Signed-off-by: Amlal El Mahrouss --- DriverKit/KernelString.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 DriverKit/KernelString.h (limited to 'DriverKit/KernelString.h') 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 + +/// @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); -- cgit v1.2.3