-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_print_tab_char.c
26 lines (24 loc) · 1.06 KB
/
ft_print_tab_char.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_tab_char.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: chrhuang <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/13 15:39:31 by chrhuang #+# #+# */
/* Updated: 2018/11/13 15:49:33 by chrhuang ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_print_tab_char(const char **tab)
{
if (tab == NULL)
return (-1);
while (*tab != NULL)
{
ft_putstr(*tab);
ft_putchar('\n');
tab = tab + 1;
}
return (0);
}