24 lines
1015 B
C
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);
|
|
}
|