|
libft
|
Handles printing of c, s, and %% specifiers for ft_printf.
More...
#include "libft.h"
Include dependency graph for format_print_csper.c:Functions | |
| void | format_and_print_c (t_fmt *fmt, va_list *args, t_pf *pf) |
Formats and prints a character (c). | |
| void | format_and_print_percent (t_fmt *fmt, t_pf *pf) |
Formats and prints a literal percent sign (%%). | |
| void | format_and_print_s (t_fmt *fmt, va_list *args, t_pf *pf) |
Formats and prints a string (s). | |
Handles printing of c, s, and %% specifiers for ft_printf.
This file implements the formatting and output logic for the character, string, and literal percent sign specifiers in ft_printf. Each function handles its corresponding format specifier using:
All output operations go through the state-tracking t_pf struct.