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

This commit is contained in:
Raphael 2025-09-19 17:28:15 +02:00
parent 32e97bb2da
commit 277895cf96
No known key found for this signature in database

View file

@ -43,6 +43,13 @@ size_t ft_strlen(const char *str);
*/ */
char *itoa_base(uint64_t nbr, char *base); 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_c(va_list args, int fd);
int flag_i(va_list args, int fd); int flag_i(va_list args, int fd);