aboutsummaryrefslogtreecommitdiff
path: root/xmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmalloc.h')
-rw-r--r--xmalloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmalloc.h b/xmalloc.h
index 61f8adef..dd254e7b 100644
--- a/xmalloc.h
+++ b/xmalloc.h
@@ -28,6 +28,7 @@ void *xcalloc(size_t, size_t);
void *xrealloc(void *, size_t);
void *xreallocarray(void *, size_t, size_t);
char *xstrdup(const char *);
+char *xstrndup(const char *, size_t);
int xasprintf(char **, const char *, ...)
__attribute__((__format__ (printf, 2, 3)))
__attribute__((__nonnull__ (2)));