16#include "../sequence.h"
17#include "../../utils/utils.h"
18#include "../../utils/internal_types.h"
33 n = va_arg(args,
int);
int process_uint(t_sequence seq, int *fd, int total)
Processes the unsigned integer specifier by printing the number in base 10.
static t_ubiggest lltull(t_biggest n)
Safely converts a signed integer to an unsigned one.
void pre_int(va_list args, t_sequence *seq)
Preprocess the signed integer specifier by retrieving the argument in the appropriate size,...
long long t_biggest
Convenience typedef for largest signed type I need to handle.
unsigned long long t_ubiggest
Convenience typedef for largest unsigned type I need to handle.
int u_len_base(t_ubiggest n, int base)
Determine the length of unsigned number n in base base.
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.
int total_len
Total number of characters after padding.
char * sign
String containing the prefix for the value. Set during preprocessing for a format handler.