mirror of
https://github.com/LucasCodeur/alcu.git
synced 2026-04-28 17:44:34 +02:00
23 lines
1008 B
C
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);
|
|
}
|