/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strlen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: tmaze +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2018/04/03 15:33:37 by tmaze #+# #+# */ /* Updated: 2018/05/16 15:33:46 by tmaze ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" size_t ft_strlen(const char *s) { int i; i = 0; while (s != NULL && s[i]) i++; return (i); }