rm ft_strlen

This commit is contained in:
Timo Schmidt 2023-03-27 01:01:01 +02:00
parent 646a7ddf2b
commit 968455ac07
1 changed files with 0 additions and 33 deletions

View File

@ -1,33 +0,0 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strlen.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/27 00:57:16 by tischmid #+# #+# */
/* Updated: 2023/03/27 00:58:43 by tischmid ### ########.fr */
/* */
/* ************************************************************************** */
int ft_strlen(char *str)
{
int i;
i = 0;
while (*str++)
++i;
return (i);
}
/* ////
#include <stdio.h>
int main(void)
{
char str[10] = "Hello";
printf("%d\n", ft_strlen(str));
return (0);
}
*/ ////