-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_puthex_pf.c
22 lines (19 loc) · 1.04 KB
/
ft_puthex_pf.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_puthex_pf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adiaz-be <[email protected] +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/15 14:53:32 by adiaz-be #+# #+# */
/* Updated: 2022/10/15 14:53:36 by adiaz-be ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void ft_puthex_pf(unsigned int num, size_t *counter, char *base)
{
char *str;
str = ft_aux_pf(num, base);
ft_putstr_pf(str, counter);
free(str);
}