22#include "../sequence.h"
23#include "../../utils/utils.h"
24#include "../../utils/internal_types.h"
void pre_uint(va_list args, t_sequence *seq)
Preprocess the unsigned integer specifier by retrieving the argument in the appropriate size,...
int process_uint(t_sequence seq, int *fd, int total)
Processes the unsigned integer specifier by printing the number in base 10.
int u_len_base(t_ubiggest n, int base)
Determine the length of unsigned number n in base base.
t_ubiggest unsigned_arg(va_list args, t_lenmod lenmod)
Retrieves the next unsigned variable argument in the appropriate size dependent on the length modifie...
int u_print_base(t_sequence seq, int fd, char *base)
Writes an unsigned integer in base base on descriptor fd, with respect to the s_subspec::precision.
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 precision
Minimum number of digits to be printed, or maximum characters for strings.
t_lenmod lenmod
Represents the length modifiers for a format specifier's variable argument.
char * pad_str
String used when padding values.