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.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 get_next_line.h (limited to 'get_next_line.h') diff --git a/get_next_line.h b/get_next_line.h new file mode 100644 index 0000000..efe927b --- /dev/null +++ b/get_next_line.h @@ -0,0 +1,9 @@ +#ifndef GET_NEXT_LINE_H +# define GET_NEXT_LINE_H + +# define NEWLINE 0x0A +# define BUFF_SIZE (1 << 8) + +int get_next_line(const int fd, char **line); + +#endif -- cgit