Get_next_line is a 42 Project and a useful function to read FDs.
- Return (1, 0 or -1) if there is respectively a new line, last line of the file, unable to read the file.
- Able to read multiple FDs.
- All memory used for the last line is fred.
- Based on an original idea from jfortin42
To contact me, or fix/improve GNL, feel free to e-mail me at angavrel@student.42.fr