Files
2026-03-29 18:24:06 +02:00

23 lines
1008 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strlen.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/05 11:17:31 by dgaillet #+# #+# */
/* Updated: 2026/03/28 14:47:54 by lud-adam ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
size_t ft_strlen(const char *s) {
size_t i;
i = 0;
while (s[i])
i++;
return (i);
}