New utility function xmemdup().

This commit is contained in:
Ben Pfaff committed 2008-05-01 17:02:31 -07:00
1 parent 3f5c2e0dad
commit 4c411bcb40
2 files changed
+12 -6

No files matched your search

+1
View File
@@ -80,6 +80,7 @@ void set_program_name(const char *);
void *xmalloc(size_t);
void *xcalloc(size_t, size_t);
void *xrealloc(void *, size_t);
void *xmemdup(const void *, size_t);
char *xstrdup(const char *);
char *xasprintf(const char *format, ...) PRINTF_FORMAT(1, 2);