24 lines
1000 B
C
24 lines
1000 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_strlen.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: nlauvray <nlauvray@student.42angoulem +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/07/31 08:47:30 by nlauvray #+# #+# */
|
||
|
/* Updated: 2022/07/31 08:47:37 by nlauvray ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "rush02.h"
|
||
|
|
||
|
int ft_strlen(char *str)
|
||
|
{
|
||
|
int i;
|
||
|
|
||
|
i = 0;
|
||
|
while (str[i] != 0)
|
||
|
i++;
|
||
|
return (i);
|
||
|
}
|