summaryrefslogtreecommitdiff
path: root/support/support.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-11-12 09:53:06 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-11-12 09:53:06 +0100
commit1ffe1ccb6ec5771765f1f6f0c439ed07bf345d67 (patch)
treea5d96c2270d9f919e4cda3c17649e5cec4ff519e /support/support.h
parent456b40a97f7e867803b2f47f5fcd3f1fa4bc1f6e (diff)
support: Add xstrndup, xunlink, xreadlink, support_create_temp_directory
Diffstat (limited to 'support/support.h')
-rw-r--r--support/support.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/support.h b/support/support.h
index 4b5f04c2cc..bbba803ba1 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