/42-get_next_line

42 Project - get_next_line (GNL)

Primary LanguageC

42-get_next_line

42 Project - get_next_line (GNL)

Basic Functions:

  • get next line is a function that reads a file line by line

Bonus

  • Completed with a single static varible
  • Support for multiple file descriptors

Return value:

  • return 1 when it read a line
  • return 0 when it finished reading a file
  • return -1 when an error occurs