summaryrefslogtreecommitdiff
path: root/modules/strdup-posix
blob: 846baf2eb81aa235d66e565c838a3eb9b6af5939 (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:
strdup() function: duplicate a string.

Files:
lib/strdup.c
m4/strdup.m4

Depends-on:
string
malloc-posix    [test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1]

configure.ac:
gl_FUNC_STRDUP_POSIX
if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
  AC_LIBOBJ([strdup])
  gl_PREREQ_STRDUP
fi
gl_STRING_MODULE_INDICATOR([strdup])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
all, glibc