File mod/kstr/kssz.fn.c artifact a254af4df5 part of check-in 95c138423b
#include <k/type.h> #include <k/str.h> sz kssz(const char* str, sz max) { const char* end; for (end = str; *end!=0; ++end); return end - str; }
#include <k/type.h> #include <k/str.h> sz kssz(const char* str, sz max) { const char* end; for (end = str; *end!=0; ++end); return end - str; }