summaryrefslogtreecommitdiff
path: root/modules/strndup
blob: 4cb5a903c5704dd58f15719442cc6c58702a628f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description:
strndup() function: duplicate a size-bounded string.

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

Depends-on:
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:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
glibc