-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_printunlong.c
27 lines (24 loc) · 1.07 KB
/
ft_printunlong.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printunlong.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sbeline <sbeline@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/05/13 16:30:26 by sbeline #+# #+# */
/* Updated: 2016/05/13 16:30:27 by sbeline ### ########.fr */
/* */
/* ************************************************************************** */
#include "Includes/libft.h"
void ft_printunlong(unsigned long long ll)
{
size_t ret;
ret = 1;
if (ll >= 10)
{
ft_printunlong(ll / 10);
ft_printunlong(ll % 10);
}
else
ft_putchar(ll + '0');
}