22#include "../sequence.h"
23#include "../../../../libft/libft.h"
24#include "../../utils/internal_types.h"
void pre_string(va_list args, t_sequence *seq)
Preprocess the string specifier by retrieving the address, setting s_sequence::data to the address,...
static int process_string(t_sequence seq, int *fd, int total)
Process the string specifier by writing the string. (Rocket science)
unsigned long long t_ubiggest
Convenience typedef for largest unsigned type I need to handle.
size_t ft_strlen(const char *str)
Get length of str.
Holds information regarding the current format specifier sequence.
int(* process)(struct s_sequence, int *, int)
Function to use for processing this sequence's value.
t_ubiggest data
Retrieved variable argument.
t_subspec subspec
Holds subspecifier options for a format specifier.
int total_len
Total number of characters after padding.
int pad_len
Number of characters to pad.
int precision
Minimum number of digits to be printed, or maximum characters for strings.