Description:
strnlen() function: determine the length of a size-bounded string.

Files:
lib/strnlen.c
m4/strnlen.m4

Depends-on:
string-h
extensions

configure.ac:
gl_FUNC_STRNLEN
gl_CONDITIONAL([GL_COND_OBJ_STRNLEN],
               [test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1])
AM_COND_IF([GL_COND_OBJ_STRNLEN], [
  gl_PREREQ_STRNLEN
])

gl_STRING_MODULE_INDICATOR([strnlen])

Makefile.am:
if GL_COND_OBJ_STRNLEN
lib_SOURCES += strnlen.c
endif

Include:
<string.h>

License:
LGPLv2+

Maintainer:
all
