From 1ffe1ccb6ec5771765f1f6f0c439ed07bf345d67 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sun, 12 Nov 2017 09:53:06 +0100 Subject: support: Add xstrndup, xunlink, xreadlink, support_create_temp_directory --- support/support.h | 1 + 1 file changed, 1 insertion(+) (limited to 'support/support.h') diff --git a/support/support.h b/support/support.h index 4b5f04c..bbba803 100644 --- a/support/support.h +++ b/support/support.h @@ -68,6 +68,7 @@ void *xrealloc (void *p, size_t n); char *xasprintf (const char *format, ...) __attribute__ ((format (printf, 1, 2), malloc)); char *xstrdup (const char *); +char *xstrndup (const char *, size_t); __END_DECLS -- cgit v1.1