tgrekov-fdf
HIVE fdf May 2024
|
Definition in file handler_utils.h.
Go to the source code of this file.
Functions | |
t_ubiggest | unsigned_arg (va_list args, t_lenmod lenmod) |
Retrieves the next unsigned variable argument in the appropriate size dependent on the length modifier. | |
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. | |
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.
[in] | seq | |
[in] | fd | |
[in] | base |
int | Number of characters written, or -1 on error. |
Definition at line 35 of file u_print_base.c.
References s_sequence::data, ft_strlen(), s_subspec::precision, repeat_str_n(), s_sequence::subspec, u_len_base(), u_put_base(), and wrap_err().
t_ubiggest unsigned_arg | ( | va_list | args, |
t_lenmod | lenmod | ||
) |
Retrieves the next unsigned variable argument in the appropriate size dependent on the length modifier.
For more info on the length modifiers, see ft_printf.c
[in,out] | args | |
[in] | lenmod |
t_ubiggest | Retrieved value |
Definition at line 35 of file unsigned_arg.c.