/42-get_next_line

Get Next Line is a function that reads a line in a file and return it.

Primary LanguageC

42-get_next_line

The aim of this project is to make you code a function that returns a line ending with a newline, read from a file descriptor.

Usage

You need to define the buffer size in compilation

$ gcc -D BUFFER_SIZE=32 get_next_line.c get_next_line_utils.c ...