Description:
strndup() function: duplicate a size-bounded string.

Files:
lib/strndup.c
m4/strndup.m4

Depends-on:
string-h
extensions
strnlen         [test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1]

configure.ac:
gl_FUNC_STRNDUP
gl_CONDITIONAL([GL_COND_OBJ_STRNDUP],
               [test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1])
gl_STRING_MODULE_INDICATOR([strndup])

Makefile.am:
if GL_COND_OBJ_STRNDUP
lib_SOURCES += strndup.c
endif

Include:
<string.h>

License:
LGPLv2+

Maintainer:
glibc
