21#include "../../sequence.h"
22#include "../../../utils/utils.h"
23#include "../../../utils/internal_types.h"
24#include "../../../../../libft/libft.h"
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.
int wrap_err(int n, int *total)
Wrapper for handling functions that return a positive integer on success and -1 on failure....
size_t ft_strlen(const char *str)
Get length of str.
int repeat_str_n(const char *str, int n, int fd)
Write exactly n characters from str on descriptor fd. Repeats string if ft_strlen(str) is greater tha...
Holds information regarding the current format specifier sequence.
t_ubiggest data
Retrieved variable argument.
t_subspec subspec
Holds subspecifier options for a format specifier.
int precision
Minimum number of digits to be printed, or maximum characters for strings.
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.