view modules/strdup @ 16870:eabd04107c92

Revert "strdup: undeprecate, IRIX 6.5 needs it" This reverts commit 7e2a535f8c362d5d3905cac9ebd7df4622604992.
author Simon Josefsson <simon@josefsson.org>
date Tue, 22 May 2012 13:14:23 +0200
parents 1def4f23c989
children
line wrap: on
line source

Description:
strdup() function: duplicate a string.

Status:
obsolete

Notice:
This module is obsolete. But you may want to use the strdup-posix module.

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

Depends-on:
string

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

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
all, glibc