-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_put_intlist.c
31 lines (27 loc) · 1.11 KB
/
ft_put_intlist.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_put_intlist.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ngouy <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/03/12 11:27:06 by ngouy #+# #+# */
/* Updated: 2015/11/04 16:41:03 by ngouy ### ########.fr */
/* */
/* ************************************************************************** */
/*
** Put a list of int as content.
*/
#include "libft.h"
void ft_put_intlist(t_list *lst)
{
t_list *tmp;
tmp = lst;
while (tmp)
{
ft_putnbr(*((int *)tmp->content));
ft_putstr("->");
tmp = tmp->next;
}
ft_putstr("null \n");
}