-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhexadecimal.c
31 lines (26 loc) · 1.2 KB
/
hexadecimal.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* hexadecimal.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: atabiti <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/05 08:18:33 by atabiti #+# #+# */
/* Updated: 2021/12/08 09:00:51 by atabiti ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
int hexadi(va_list holde)
{
int hex;
hex = va_arg(holde, unsigned long);
hexconverter((unsigned int)hex);
return (manyhex((unsigned int)hex));
}
int hexadilower(va_list holde)
{
int hex;
hex = va_arg(holde, unsigned int);
hexconverterlower((unsigned int)hex);
return (manyhex((unsigned int)hex));
}