/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strlen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/10/30 18:15:57 by adjoly #+# #+# */ /* Updated: 2024/03/12 15:07:08 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #include "../libft.h" size_t ft_strlen(const char *s) { const char *tmp; tmp = s; while (*tmp) tmp++; return (tmp - s); }