/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strlen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2021/10/18 16:04:47 by narnaud #+# #+# */ /* Updated: 2021/11/02 17:42:12 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" size_t ft_strlen(const char *s) { size_t i; i = 0; while (s[i] != '\0') { i++; } return (i); }