view modules/stpncpy @ 40237:b1386ce84ff5

fatal-signal: Add function that lists the fatal signals. * lib/fatal-signal.h (get_fatal_signals): New declaration. * lib/fatal-signal.c (get_fatal_signals): New function.
author Bruno Haible <bruno@clisp.org>
date Sat, 16 Mar 2019 17:48:06 +0100
parents 1f14c6dd175d
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:
glibc