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