aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-01-28 13:36:12 -0600
committerRob Landley <rob@landley.net>2016-01-28 13:36:12 -0600
commit8f7137e4e4850e17eea8c045865885bb1bc2f3bc (patch)
treebea4c382b22f63358f0eaa04d2c944234f04aa19 /lib/lib.h
parent33f50f5ff5930815e0a6a6e4af55905df2ec6bdf (diff)
downloadtoybox-8f7137e4e4850e17eea8c045865885bb1bc2f3bc.tar.gz
Bugfix I forgot to checkin, plus a wrapper function.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index e3dbc462..5733103b 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -101,6 +101,7 @@ void *xzalloc(size_t size);
void *xrealloc(void *ptr, size_t size);
char *xstrndup(char *s, size_t n);
char *xstrdup(char *s);
+void *xmemdup(void *s, long len);
char *xmprintf(char *format, ...) printf_format;
void xprintf(char *format, ...) printf_format;
void xputs(char *s);