aboutsummaryrefslogtreecommitdiff
path: root/src/str/ft_strsjoinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/str/ft_strsjoinf.c')
-rw-r--r--src/str/ft_strsjoinf.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/str/ft_strsjoinf.c b/src/str/ft_strsjoinf.c
index f5077c1..36a2892 100644
--- a/src/str/ft_strsjoinf.c
+++ b/src/str/ft_strsjoinf.c
@@ -6,12 +6,19 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/04 14:27:33 by charles #+# #+# */
-/* Updated: 2020/04/04 14:29:49 by charles ### ########.fr */
+/* Updated: 2020/04/04 23:24:24 by charles ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft_str.h"
+/*
+** \brief Join null-terminated array of strings and free the array
+** \param strs Array of strings
+** \param delim String which will be put between each string
+** \return Joined string or NULL on error
+*/
+
char *ft_strsjoinf(char **strs, char *delim)
{
char *ret;