/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strcpy.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: gtertysh +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/10/31 16:46:21 by gtertysh #+# #+# */ /* Updated: 2016/10/31 16:46:57 by gtertysh ### ########.fr */ /* */ /* ************************************************************************** */ char *ft_strcpy(char *dest, char *src) { char *start; start = dest; while (*src != '\0') { *dest = *src; dest++; src++; } *dest = '\0'; return (start); }