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