-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strcat.c
18 lines (16 loc) · 1021 Bytes
/
ft_strcat.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strcat.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tyeung <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/09/30 19:27:05 by tyeung #+# #+# */
/* Updated: 2019/09/30 19:27:06 by tyeung ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strcat(char *restrict s1, const char *restrict s2)
{
return (ft_strncat(s1, s2, ft_strlen(s2)));
}