-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathft_strcpy.c
19 lines (17 loc) · 1017 Bytes
/
ft_strcpy.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strcpy.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: oadhesiv <oadhesiv@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/04 19:18:15 by oadhesiv #+# #+# */
/* Updated: 2019/06/01 15:50:00 by oadhesiv ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strcpy(char *dst, const char *src)
{
ft_memcpy(dst, src, ft_strlen(src) + 1);
return (dst);
}