strndup() function: duplicate a size-bounded string.
Files:
-lib/strndup.h
lib/strndup.c
m4/strndup.m4
Depends-on:
-strnlen
+string
+extensions
+strnlen [test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1]
configure.ac:
gl_FUNC_STRNDUP
+if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
+ AC_LIBOBJ([strndup])
+fi
+gl_STRING_MODULE_INDICATOR([strndup])
Makefile.am:
-lib_SOURCES += strndup.h
Include:
-"strndup.h"
+<string.h>
License:
-LGPL
+LGPLv2+
Maintainer:
glibc
-