/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strlen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2015/11/23 14:47:27 by bchanot #+# #+# */ /* Updated: 2015/12/07 14:19:25 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" size_t ft_strlen(const char *s) { size_t cpt; cpt = 0; while (s[cpt]) cpt++; return (cpt); }