-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putuint_pf.c
22 lines (19 loc) · 1.04 KB
/
ft_putuint_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_putuint_pf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adiaz-be <adiaz-be@student.42malaga.c +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/15 14:35:21 by adiaz-be #+# #+# */
/* Updated: 2022/10/15 14:35:28 by adiaz-be ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void ft_putuint_pf(unsigned int num, size_t *counter)
{
char *str;
str = ft_aux_pf(num, "0123456789");
ft_putstr_pf(str, counter);
free(str);
}