15#include "../sequence.h"
16#include "../../utils/utils.h"
17#include "../../utils/internal_types.h"
29 seq->
data = va_arg(args,
unsigned int);
void pre_uhex(va_list args, t_sequence *seq)
Preprocess the unsigned hexadecimal specifier by retrieving the argument in the appropriate size,...
int process_uhex(t_sequence seq, int *fd, int total)
Process the unsigned octal specifier by printing the number in uppercase or lowercase base 16 dependi...
int u_len_base(t_ubiggest n, int base)
Determine the length of unsigned number n in base base.
int u_put_base(t_ubiggest n, char *base, int fd)
Write unsigned number n on descriptor fd 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.
char specifier
The specifier character for this sequence.
t_ubiggest data
Retrieved variable argument.
int total_len
Total number of characters after padding.