A function in C to read a file line by line, taking a line break as a delimiter, without losing the position read in further calls,
the line read is returned to a char *, that should be freed manually at the end of the programm
There are a bonus version that can read multiple fds