String documentation

main
able 2024-01-23 04:36:13 -06:00
parent 4b2691fa57
commit d150e77aaa
1 changed files with 5 additions and 0 deletions

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) {
if (ptr == NULL) {
return 0;