Mercurial > hg > octave-lojdl > gnulib-hg
view modules/stpncpy @ 15333:f03da5e72c61
timespec-add, timespec-sub: new modules
* lib/timespec.h (timespec_add, timespec_sub): New decls.
* lib/timespec-add.c, lib/timespec-sub.c:
* modules/timespec-add, modules/timespec-sub: New files.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 30 Jun 2011 15:17:31 -0700 |
parents | 87e0d6cd3068 |
children |
line wrap: on
line source
Description: stpncpy() function: copy a size-bounded string, returning a pointer to its end. Files: lib/stpncpy.c m4/stpncpy.m4 Depends-on: extensions string configure.ac: gl_FUNC_STPNCPY if test $HAVE_STPNCPY = 0 || test $REPLACE_STPNCPY = 1; then AC_LIBOBJ([stpncpy]) gl_PREREQ_STPNCPY fi gl_STRING_MODULE_INDICATOR([stpncpy]) Makefile.am: Include: <string.h> License: LGPLv2+ Maintainer: Bruno Haible, glibc