aboutsummaryrefslogtreecommitdiff
path: root/include/str.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-28 01:03:04 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-28 01:03:04 -0500
commit58c133333ac3d1be1f7e89ce1b40a0e100ee812c (patch)
tree989106e05030d3a5e5c65087500e35066f6870eb /include/str.h
parentd3580f8c0b5c17150382c4b4456e0b1bfa81a50f (diff)
downloadspmc-58c133333ac3d1be1f7e89ce1b40a0e100ee812c.tar.gz
Add join_ex() [simplified join() function]
Diffstat (limited to 'include/str.h')
-rw-r--r--include/str.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/str.h b/include/str.h
index 06e4a77..23126ab 100644
--- a/include/str.h
+++ b/include/str.h
@@ -11,6 +11,7 @@ void strdelsuffix(char *sptr, const char *suffix);
char** split(char *sptr, const char* delim);
void split_free(char **ptr);
char *join(char **arr, const char *separator);
+char *join_ex(char *separator, ...);
char *substring_between(char *sptr, const char *delims);
void strsort(char **arr);
int find_in_file(const char *filename, const char *pattern);