aboutsummaryrefslogtreecommitdiff
path: root/get_next_line.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-08-25 19:33:44 +0200
committerCharles <sircharlesaze@gmail.com>2019-08-25 19:33:44 +0200
commitacb835621713942c075a42c8b8040702b27031cc (patch)
tree8cf028d878f96e5ab5b2c2f8699b903a8c49675c /get_next_line.h
downloadget_next_line-acb835621713942c075a42c8b8040702b27031cc.tar.gz
get_next_line-acb835621713942c075a42c8b8040702b27031cc.tar.bz2
get_next_line-acb835621713942c075a42c8b8040702b27031cc.zip
Initial commit with boilerplate stuff
Diffstat (limited to 'get_next_line.h')
-rw-r--r--get_next_line.h9
1 files changed, 9 insertions, 0 deletions
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