-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_stradd.c
22 lines (19 loc) · 1 KB
/
ft_stradd.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_stradd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lbopp <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/26 09:11:49 by lbopp #+# #+# */
/* Updated: 2017/01/11 16:12:24 by lbopp ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_stradd(char *s1, char const *s2)
{
char *new;
new = ft_strjoin(s1, s2);
free(s1);
return (new);
}