From f818b0764a24e1e2347fdaf6becf003eb0d857f3 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 19 Sep 2025 17:29:00 +0200 Subject: [PATCH] docs(intenal/flag_percent): adding the documentation of flag_percent --- includes/_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/_internal.h b/includes/_internal.h index 8e8cadb..943ec00 100644 --- a/includes/_internal.h +++ b/includes/_internal.h @@ -70,6 +70,13 @@ int flag_i(va_list args, int fd); */ int flag_p(va_list args, int fd); +/** + * @brief Function to handle the flag % 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_percent(va_list args, int fd); int flag_s(va_list args, int fd);