-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printlstone.c
24 lines (22 loc) · 1.05 KB
/
ft_printlstone.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printlstone.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: erli <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/08 17:16:13 by erli #+# #+# */
/* Updated: 2018/11/08 17:19:06 by erli ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_printlstone(t_list *elem)
{
if (elem != NULL)
{
ft_putmem(elem->content, elem->content_size);
ft_putstr(" -> ");
}
else
ft_putstr("(null)\n");
}