From d150e77aaa95953b95ce10c90b1f85d7f89d36f8 Mon Sep 17 00:00:00 2001 From: able Date: Tue, 23 Jan 2024 04:36:13 -0600 Subject: [PATCH] String documentation --- src/ableos_std/types/string/string.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ableos_std/types/string/string.c b/src/ableos_std/types/string/string.c index 8513876..67100e3 100644 --- a/src/ableos_std/types/string/string.c +++ b/src/ableos_std/types/string/string.c @@ -1,5 +1,10 @@ +// A small collection of functions related to the ableOS String type as defined in the header file string.h +// Notes: +// - All functions in the library must operate on unicode only. +// Check the length of a default c string +// Returns a u32 inline static u32 c_str_len(char const* ptr) { if (ptr == NULL) { return 0;