view modules/strndup @ 15070:221318b8a54e

random_r: Move AC_LIBOBJ invocations to module description. * m4/random_r.m4 (gl_FUNC_RANDOM_R): Move AC_LIBOBJ and gl_PREREQ_RANDOM_R invocations from here... * modules/random_r (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 17:50:27 +0200
parents efab6978105e
children ed77fe40c360
line wrap: on
line source

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

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

Depends-on:
string
extensions
strnlen         [test $ac_cv_func_strndup = no || test $REPLACE_STRNDUP = 1]

configure.ac:
gl_FUNC_STRNDUP
gl_STRING_MODULE_INDICATOR([strndup])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
glibc