23#include "../sequence.h"
24#include "../../utils/internal_types.h"
42 *((
signed char *) seq.
data) = total;
44 *((
short *) seq.
data) = total;
46 *((
long *) seq.
data) = total;
48 *((
long long *) seq.
data) = total;
50 *((intmax_t *) seq.
data) = total;
52 *((
size_t *) seq.
data) = total;
56 *((
int *) seq.
data) = total;
unsigned long long t_ubiggest
Convenience typedef for largest unsigned type I need to handle.
long t_ptrdiff_t
If _PTRDIFF_T is defined, set to ptrdiff_t. Set to long otherwise.
static int process_store(t_sequence seq, int *fd, int total)
Processes the store specifier by setting the value at the retrieved address to the number of characte...
void pre_store(va_list args, t_sequence *seq)
Preprocess the store specifier by retrieving the address argument in the appropriate size dependent o...
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 min_width
Minimum number of characters to be printed.
t_lenmod lenmod
Represents the length modifiers for a format specifier's variable argument.