paw: spkg: Create seperate strlib directory

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-22 03:37:02 +00:00
parent f38cd9e619
commit 9e98bae25b
4 changed files with 0 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: RtlStrLen() implementation
* Author: Chloe M.
*/
#include <string.h>
USIZE
RtlStrLen(const CHAR *String)
{
USIZE Length = 0;
if (String == NULL) {
return 0;
}
while (String[Length++] != '\0')
;
return Length;
}