/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strlen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: gtertysh +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/11/30 12:37:23 by gtertysh #+# #+# */ /* Updated: 2016/11/30 12:48:50 by gtertysh ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" size_t ft_strlen(const char *s) { size_t len; len = 0; while (*(unsigned char *)s++) len++; return (len); }