tgrekov-ft_printf
HIVE printf Feb 2024
Loading...
Searching...
No Matches
handler_utils.h
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* handler_utils.h :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2024/02/02 02:37:35 by tgrekov #+# #+# */
9/* Updated: 2024/02/13 08:51:53 by tgrekov ### ########.fr */
10/* */
11/* ************************************************************************** */
12
20#ifndef HANDLER_UTILS_H
21# define HANDLER_UTILS_H
22
23# include <stdarg.h>
24# include "../../../utils/internal_types.h"
25# include "../../sequence.h"
26
27t_ubiggest unsigned_arg(va_list args, t_lenmod lenmod);
28int u_print_base(t_sequence seq, int fd, char *base);
29
30#endif
unsigned long long t_ubiggest
Convenience typedef for largest unsigned type I need to handle.
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.
Definition sequence.h:49
enum e_lenmod t_lenmod
Represents the length modifiers for a format specifier's variable argument.