Add xmemdup0.
authorEric Blake <ebb9@byu.net>
Fri, 9 May 2008 19:54:18 +0000 (13:54 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 9 May 2008 20:01:05 +0000 (14:01 -0600)
* lib/xalloc.h (xmemdup0): New prototype and C++ typesafe
implementation.
* lib/xmalloc.c (xmemdup0): New C implementation.

Signed-off-by: Eric Blake <ebb9@byu.net>

No differences found