Go to the documentation of this file. 30 #ifndef LIBITE_STRNLEN_H_ 31 #define LIBITE_STRNLEN_H_ 33 #if !defined(HAVE_STRNLEN) 35 #define HAVE_STRNLEN 1 42 #define strnlen(str, lim) xstrnlen(str, lim) 50 static inline size_t xstrnlen(const char *str, size_t lim) 54 while (i < lim && str[i])