From 32e97bb2da0b9f90c7cc6eff3173734c7243802c Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 19 Sep 2025 17:28:02 +0200 Subject: [PATCH] docs(intenal/itoa_base): adding the documentation of itoa_base --- includes/_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/_internal.h b/includes/_internal.h index 5bae8e1..e065e8d 100644 --- a/includes/_internal.h +++ b/includes/_internal.h @@ -34,6 +34,13 @@ typedef struct s_format */ size_t ft_strlen(const char *str); +/** + * @brief Function to convert a number to an other base + * + * @param nbr number to convert + * @param base base to convert in + * @return the string with the number converted + */ char *itoa_base(uint64_t nbr, char *base); int flag_c(va_list args, int fd);