From 277895cf965ebc1d5579625529d2daa859fa7b30 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 19 Sep 2025 17:28:15 +0200 Subject: [PATCH] docs(intenal/flag_c): adding the documentation of flag_c --- includes/_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/_internal.h b/includes/_internal.h index e065e8d..5114c1a 100644 --- a/includes/_internal.h +++ b/includes/_internal.h @@ -43,6 +43,13 @@ size_t ft_strlen(const char *str); */ char *itoa_base(uint64_t nbr, char *base); +/** + * @brief Function to handle the flag c in printf's function + * + * @param args list of arguments + * @param fd file descriptor + * @return The number of character write in the fd (always 1) + */ int flag_c(va_list args, int fd); int flag_i(va_list args, int fd);