1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef STRING_C #define STRING_C #include <toast.h> uint64_t strlen(char *string) { uint64_t l = 0; while (string[l] != 0) l++; return l; } #endif