-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
25 lines (22 loc) · 1.01 KB
/
main.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: spopieul <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/01/12 13:52:58 by spopieul #+# #+# */
/* Updated: 2018/01/12 13:54:01 by spopieul ### ########.fr */
/* */
/* ************************************************************************** */
#include "get_next_line.h"
int main()
{
int i = 0;
char *line;
while (get_next_line(0, &line))
{
ft_putendl(line);
ft_strdel(&line);
}
}