From acb835621713942c075a42c8b8040702b27031cc Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 25 Aug 2019 19:33:44 +0200 Subject: Initial commit with boilerplate stuff --- get_next_line.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 get_next_line.c (limited to 'get_next_line.c') diff --git a/get_next_line.c b/get_next_line.c new file mode 100644 index 0000000..0beef4d --- /dev/null +++ b/get_next_line.c @@ -0,0 +1,14 @@ +#include +#include +#include "get_next_line.h" + +int get_next_line(const int fd, char **line) +{ + char buf[BUFF_SIZE]; + + while ((read(fd, buf, BUFF_SIZE)) > 0) + { + + } + return 0; +} -- cgit