1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* ISC license. */ #include <skalibs/config.h> #ifdef SKALIBS_FLAG_REPLACE_LIBC #include <skalibs/bytestr.h> unsigned int str_len (char const *s) { register unsigned int len = 0 ; while (*s++) len++ ; return len ; } #endif