Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 466 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 466 Bytes

get_next_line

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

Contact & contribute

To contact me, or fix/improve GNL, feel free to e-mail me at angavrel@student.42.fr