diff options
Diffstat (limited to 'get_next_line.c')
| -rw-r--r-- | get_next_line.c | 14 |
1 files changed, 14 insertions, 0 deletions
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 <unistd.h> +#include <stdlib.h> +#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; +} |
