diff options
author | Rob Landley <rob@landley.net> | 2016-01-28 13:36:12 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-01-28 13:36:12 -0600 |
commit | 8f7137e4e4850e17eea8c045865885bb1bc2f3bc (patch) | |
tree | bea4c382b22f63358f0eaa04d2c944234f04aa19 /lib/lib.h | |
parent | 33f50f5ff5930815e0a6a6e4af55905df2ec6bdf (diff) | |
download | toybox-8f7137e4e4850e17eea8c045865885bb1bc2f3bc.tar.gz |
Bugfix I forgot to checkin, plus a wrapper function.
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |