blob: d5bc7e0f0d280404cc86f74e21797d30142119af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strcat.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/07 10:09:41 by cacharle #+# #+# */
/* Updated: 2019/11/21 01:03:38 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strcat(char *dest, const char *src)
{
ft_memcpy(dest + ft_strlen(dest), src, ft_strlen(src) + 1);
return (dest);
}
|