This c function will simply give you the next line in a file
Usage:
- Add #include "get_next_line.h" to your .c -file
- Call function get_next_line in your .c -file to get the next line of a file.
The function's prototype is int get_next_line(const int fd, char **line), where fd is a file descriptor of the file you want to read and line is a pointer to a string where you want the read line to be stored.
Have fun!