mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
* modules/xmemdup0: New file. * lib/xmemdup0.h: Likewise. * lib/xmemdup0.c: Likewise. * MODULES.html.sh (Memory management functions): Add xmemdup0. * lib/xalloc.h (xmemdup0): Remove. * lib/xmalloc.c (xmemdup0): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
24 lines
243 B
Plaintext
24 lines
243 B
Plaintext
Description:
|
|
Copy a block of arbitrary bytes, and append a trailing NUL.
|
|
|
|
Files:
|
|
lib/xmemdup0.h
|
|
lib/xmemdup0.c
|
|
|
|
Depends-on:
|
|
xalloc
|
|
|
|
configure.ac:
|
|
AC_LIBOBJ([xmemdup0])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
"xmemdup0.h"
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
Eric Blake
|