/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strlen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: yantoine +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/11/07 10:18:42 by yantoine #+# #+# */ /* Updated: 2023/11/09 12:31:17 by yantoine ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" size_t ft_strlen(const char *c) { int index; index = 0; while (c[index] != 0) index += 1; return (index); }