/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strlen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: tomoron +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/10/30 12:34:41 by tomoron #+# #+# */ /* Updated: 2023/10/31 14:53:10 by tomoron ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" size_t ft_strlen(const char *str) { unsigned int n; n = 0; while (str[n]) n++; return (n); }