-
Notifications
You must be signed in to change notification settings - Fork 0
/
convert_touint.c
21 lines (18 loc) · 1.01 KB
/
convert_touint.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* convert_touint.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: agras <agras@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/22 14:37:09 by agras #+# #+# */
/* Updated: 2021/12/23 20:10:53 by agras ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
int convert_touint(va_list *args)
{
unsigned int i;
i = va_arg(*args, unsigned int);
return (ft_putnbr_uint(i, 1));
}