String documentation

This commit is contained in:
able 2024-01-23 04:36:13 -06:00
parent 4b2691fa57
commit d150e77aaa

View file

@ -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) { inline static u32 c_str_len(char const* ptr) {
if (ptr == NULL) { if (ptr == NULL) {
return 0; return 0;