about summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2018-10-14 14:02:12 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-10-14 14:02:34 +0000
commitbf9da44931de98984b9eae0dd7b207d433abd59c (patch)
tree38f2c49a38f5623456579e9e8a4ab96267e0cafe /Src/utils.c
parentf6adb79ba5b30719cbe11992a263145a265fedd2 (diff)
downloadzsh-bf9da44931de98984b9eae0dd7b207d433abd59c.tar.gz
zsh-bf9da44931de98984b9eae0dd7b207d433abd59c.tar.xz
zsh-bf9da44931de98984b9eae0dd7b207d433abd59c.zip
unposted: internals: Document sepjoin().
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c8
1 files changed, 8 insertions, 0 deletions
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)