docs(intenal/flag_percent): adding the documentation of flag_percent

This commit is contained in:
Raphael 2025-09-19 17:29:00 +02:00
parent d155c9f981
commit f818b0764a
No known key found for this signature in database

View file

@ -70,6 +70,13 @@ int flag_i(va_list args, int fd);
*/ */
int flag_p(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_percent(va_list args, int fd);
int flag_s(va_list args, int fd); int flag_s(va_list args, int fd);