Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 504 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 504 Bytes

2.-Get_Next_Line

The aim of this project is to make you code a function that returns a line, read from a file descriptor.

Bonus :

  • With a single static variable.
  • To be able to manage multiple file descriptors with your get_next_line. For example, if the file descriptors 3, 4 and 5 are accessible for reading, then you can call get_next_line once on 3, once on 4, once again on 3 then once on 5 etc. without losing the reading thread on each of the descriptors.

42 Project 125/100