From bf9da44931de98984b9eae0dd7b207d433abd59c Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 14 Oct 2018 14:02:12 +0000 Subject: unposted: internals: Document sepjoin(). --- Src/utils.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Src/utils.c') diff --git a/Src/utils.c b/Src/utils.c index 5a9fbdd32..914e30c5c 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -3820,6 +3820,14 @@ wordcount(char *s, char *sep, int mul) return r; } +/* + * 's' is a NULL-terminated array of strings. + * 'sep' is a string. + * + * Return a string consisting of the elements of 's' joined by 'sep', + * allocated on the heap iff 'heap'. + */ + /**/ mod_export char * sepjoin(char **s, char *sep, int heap) -- cgit v1.2.3