From b9c6df259a4fea86386325acfcae68f1f3c29cb4 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 19 Sep 2025 17:27:45 +0200 Subject: [PATCH] docs(intenal/strlen): adding the documentation of strlen --- includes/_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/_internal.h b/includes/_internal.h index 407417e..5bae8e1 100644 --- a/includes/_internal.h +++ b/includes/_internal.h @@ -25,6 +25,13 @@ typedef struct s_format t_func function; } t_format; +/** + * @brief Computes the length of a string. + * + * @param s The input string. + * + * @return The number of characters in the string `s`. + */ size_t ft_strlen(const char *str); char *itoa_base(uint64_t nbr, char *base);