Objective
Implement read_next_line, a function that reads the next text line from a file descriptor.
Steps
$ read_next_line(fd) on a file containing `red\nblue`
`red\n`, then `blue`, then `NULL`
$ read_next_line(fd) on an empty file
NULL
Expected files
Allowed functions
Allowed headers

Objective
Implement read_next_line, a function that reads the next text line from a file descriptor.
Steps
$ read_next_line(fd) on a file containing `red\nblue`
`red\n`, then `blue`, then `NULL`
$ read_next_line(fd) on an empty file
NULL
Expected files
Allowed functions
Allowed headers

Tests
Run the tests to grade your code