-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_strcpy.c
More file actions
18 lines (16 loc) · 1012 Bytes
/
ft_strcpy.c
File metadata and controls
18 lines (16 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strcpy.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mgiraldo <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/26 17:21:48 by mgiraldo #+# #+# */
/* Updated: 2020/02/26 21:18:59 by mgiraldo ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strcpy(char *dst, const char *src)
{
return (ft_memmove(dst, src, ft_strlen(src) + 1));
}