This project is about programming a function that returns a line read from a file descriptor
-
Your function should return the line that was read. If there is nothing else to read or if an error occurred, it should return NULL.
-
Please note that the returned line should include the terminating \n character, except if the end of file was reached and does not end with a \n character.
-
Because you will have to read files in get_next_line(), add this option to your compiler call: -D BUFFER_SIZE=n It will define the buffer size for read().
Works with a single file descriptor at a time
get_next_line.c
get_next_line_utils.c
get_next_line.h
make m
Works with multiple file descriptors at the same time
get_next_line_bonus.c
get_next_line_bonus.h
get_next_line_utils_bonus.c
make b