view modules/strdup @ 16063:c3b6b5b6bc32

More conditional dependencies. * modules/faccessat (Depends-on): Add conditions. * modules/fchmodat (Depends-on): Likewise. * modules/fchownat (Depends-on): Likewise. * modules/fstatat (Depends-on): Likewise. * modules/mkfifoat (Depends-on): Likewise. * modules/readlinkat (Depends-on): Likewise. * modules/symlinkat (Depends-on): Likewise. * modules/unlinkat (Depends-on): Likewise. * modules/utimensat (Depends-on): Likewise. * modules/mkdirat (Depends-on): Add sys_stat. Add conditions. * modules/linkat (Depends-on): Refine the conditions. * modules/renameat (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Wed, 09 Nov 2011 02:42:45 +0100
parents 037e4c930d72
children 1def4f23c989
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