aboutsummaryrefslogtreecommitdiff
path: root/src/str
diff options
context:
space:
mode:
Diffstat (limited to 'src/str')
-rw-r--r--src/str/ft_atoi.c2
-rw-r--r--src/str/ft_strjoin3.c20
2 files changed, 21 insertions, 1 deletions
diff --git a/src/str/ft_atoi.c b/src/str/ft_atoi.c
index 1b9bfc4..d6fa5bb 100644
--- a/src/str/ft_atoi.c
+++ b/src/str/ft_atoi.c
@@ -12,7 +12,7 @@
#include "libft.h"
-/**
+/*
** Convert a string to an int
*/
diff --git a/src/str/ft_strjoin3.c b/src/str/ft_strjoin3.c
index 69de060..e5e5530 100644
--- a/src/str/ft_strjoin3.c
+++ b/src/str/ft_strjoin3.c
@@ -1,5 +1,25 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_strjoin3.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/04/01 18:00:49 by charles #+# #+# */
+/* Updated: 2020/04/01 18:01:43 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
#include "libft.h"
+/*
+** \brief Join 3 strings in a new malloc'd one
+** \param s1 String 1
+** \param s2 String 2
+** \param s3 String 3
+** \return The joined string
+*/
+
char *ft_strjoin3(char const *s1, char const *s2, char const *s3)
{
char *joined;