![]() |
tgrekov-ft_printf
HIVE printf Feb 2024
|
Definition in file char.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_char (va_list args, t_sequence *seq) |
| Preprocess the character specifier by retrieving the character, setting s_sequence::total_len to 1 and s_sequence::process to process_char. | |
| void pre_char | ( | va_list | args, |
| t_sequence * | seq | ||
| ) |
Preprocess the character specifier by retrieving the character, setting s_sequence::total_len to 1 and s_sequence::process to process_char.
| [in,out] | args | |
| [in,out] | seq |
Definition at line 47 of file char.c.
References s_sequence::data, s_sequence::process, process_char(), and s_sequence::total_len.
| int process_char | ( | t_sequence | seq, |
| int * | fd, | ||
| int | total | ||
| ) |
Processes the character specifier by writing a character. (Wow)
| [in] | seq | |
| [in] | fd | |
| [in] | total | (Unused) |
| int | Output of write |
Definition at line 33 of file char.c.
References s_sequence::data.