update stuff

This commit is contained in:
Maix0 2024-05-20 00:35:39 +02:00
parent 5973022688
commit 544ed8b045
194 changed files with 2060 additions and 1464 deletions

25
stdme/src/str/str_len.c Normal file
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/str/str.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);
}