-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_strcat.c
19 lines (17 loc) · 1 KB
/
ft_strcat.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strcat.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lenzo-pe <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/02/09 12:44:26 by lenzo-pe #+# #+# */
/* Updated: 2021/04/06 22:34:40 by lenzo-pe ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_string.h"
char *ft_strcat(char *dest, const char *src)
{
ft_strcpy((dest + ft_strlen(dest)), src);
return (dest);
}