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