-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_strconct.c
23 lines (20 loc) · 1.05 KB
/
ft_strconct.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strconct.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sbeline <sbeline@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/05/13 17:08:01 by sbeline #+# #+# */
/* Updated: 2016/05/13 17:08:02 by sbeline ### ########.fr */
/* */
/* ************************************************************************** */
#include "Includes/libft.h"
char *strconct(char *s1, char *s2, const char *obj)
{
char *tmp;
char *ret;
tmp = ft_strcatdup(s1, obj);
ret = ft_strcatdup(tmp, s2);
return (ret);
}