Mercurial > hg > octave-lojdl > gnulib-hg
view modules/strndup @ 15332:c762e3063952
dtotimespec: new module
* lib/timespec.h (dtotimespec): New decl.
* lib/dtotimespec.c, modules/dtotimespec: New files.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 30 Jun 2011 15:14:25 -0700 |
parents | ed77fe40c360 |
children |
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 $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