first commit

This commit is contained in:
KeyZox committed 2023-08-06 20:12:38 +02:00
1 parent 1fe062c970
commit eb6b113e51
125 files changed
+2987

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strcpy.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ajoly <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/19 13:14:34 by ajoly #+# #+# */
/* Updated: 2022/07/19 13:14:45 by ajoly ### ########.fr */
/* */
/* ************************************************************************** */
char *ft_strcpy(char *dest, char *src)
{
int i;
i = 0;
while (src[i] != '\0')
{
dest[i] = src[i];
i++;
}
dest[i] = '\0';
return (dest);
}