File mod/kstr/kssz.fn.c artifact a254af4df5 part of check-in bdc1191d6f
#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; }