/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strcat.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2015/11/23 16:18:39 by bchanot #+# #+# */ /* Updated: 2016/05/22 21:09:03 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" char *ft_strcat(char *s1, const char *s2) { if (s1 && s2) ft_strcpy(&s1[ft_strlen(s1)], s2); return (s1); }