42_C_PISCINE/BSQ/ft_strlen.c
Camille Chauvet 29ed24d567 init
2023-05-17 16:45:25 +00:00

24 lines
1015 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strlen.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lflandri <lflandri@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/31 08:47:30 by nlauvray #+# #+# */
/* Updated: 2022/08/02 14:29:35 by lflandri ### ########.fr */
/* */
/* ************************************************************************** */
#include "bsq.h"
unsigned int ft_strlen(char *str)
{
unsigned int i;
i = 0;
while (str[i] != 0)
i++;
return (i);
}