Reading a line on a fd is way too tedious
The aim of this project is to make you code a function that returns a line, read from a file descriptor.
1. Using it in your code
To use the function in your code, simply include its header:
#include "get_next_line.h"and, when compiling your code, add the source files and the required flag:
get_next_line.c get_next_line_utils.c -D BUFFER_SIZE=<size>gcc -Wall -Werror -Wextra -D BUFFER_SIZE=xx get_next_line.c get_next_line_utils.c && ./a.outYou can use this tester made by Tripouille
Don't copy but learn
