Files
SystemPaw3/paw/spkg/lib/strlen.c
T
Chloe M. f38cd9e619 paw: spkg: Add more string functions
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 03:36:13 +00:00

25 lines
349 B
C

/*
* 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;
}