![]() |
tgrekov-ft_printf
HIVE printf Feb 2024
|
Definition in file percent.c.
#include <stdarg.h>#include <unistd.h>#include "../sequence.h"#include "../../utils/internal_types.h"Go to the source code of this file.
Functions | |
| int | process_char (t_sequence seq, int *fd, int total) |
| Processes the character specifier by writing a character. (Wow) | |
| void | pre_percent (va_list args, t_sequence *seq) |
Preprocess the percent specifier by setting s_sequence::data to %, s_sequence::total_len to 1, and s_sequence::process to process_char. | |
| void pre_percent | ( | va_list | args, |
| t_sequence * | seq | ||
| ) |
Preprocess the percent specifier by setting s_sequence::data to %, s_sequence::total_len to 1, and s_sequence::process to process_char.
| [in] | args | (Unused) |
| [in,out] | seq |
| int process_char | ( | t_sequence | seq, |
| int * | fd, | ||
| int | total | ||
| ) |