/* ISC license. */ #include #ifndef SKALIBS_HASSTRNLEN #include #include #include size_t strnlen (char const *s, size_t max) { return byte_chr(s, max, 0) ; } #endif