Skip to content
Snippets Groups Projects
Commit 2fb08fe4 authored by Nick Mathewson's avatar Nick Mathewson :family:
Browse files

add documentation for smartlist_join_strings

svn:r2524
parent 7fa5d224
No related branches found
No related tags found
No related merge requests found
......@@ -609,6 +609,11 @@ int smartlist_split_string(smartlist_t *sl, const char *str, const char *sep,
return n;
}
/** Allocate and return a new string containing the concatenation of
* the elements of <b>sl</b>, in order, separated by <b>join</b>. If
* <b>terminate</b> is true, also terminate the string with <b>join</b>.
* Requires that every element of <b>sl</b> is NUL-terminated string.
*/
char *smartlist_join_strings(smartlist_t *sl, const char *join, int terminate)
{
int i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment