Norminetted

This commit is contained in:
Timo Schmidt 2023-03-19 06:05:01 +01:00
parent 6a382b5c6c
commit c2b7cd3280
1 changed files with 8 additions and 8 deletions

View File

@ -6,19 +6,19 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */ /* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 05:59:56 by tischmid #+# #+# */ /* Created: 2023/03/19 05:59:56 by tischmid #+# #+# */
/* Updated: 2023/03/19 06:03:06 by tischmid ### ########.fr */ /* Updated: 2023/03/19 06:04:51 by tischmid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
char *ft_strcpy(char *s1, char *s2) char *ft_strcpy(char *s1, char *s2)
{ {
int i; int i;
i = -1; i = -1;
while (s2[++i] != '\0') while (s2[++i] != '\0')
s1[i] = s2[i]; s1[i] = s2[i];
s1[i] = '\0'; s1[i] = '\0';
return (s1); return (s1);
} }
/* //// /* ////