Started from buttom go to the sky

This commit is contained in:
Raphaël 2024-04-28 19:59:01 +02:00
parent 96215449bd
commit f811e55dea
4781 changed files with 10121 additions and 1743 deletions

View file

@ -0,0 +1,25 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* str_len.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/04 17:07:41 by maiboyer #+# #+# */
/* Updated: 2024/03/08 12:49:41 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "me/string/str_len.h"
t_usize str_len(t_const_str str)
{
t_usize out;
if (str == NULL)
return (0);
out = 0;
while (str[out])
out++;
return (out);
}