Skip to content

42 Project - Reading a line on a fd is way too tedious

License

Notifications You must be signed in to change notification settings

Hugothms/get_next_line

Repository files navigation

Get Next Line

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

hthomas's 42 get_next_line Score

Installation:

  • git clone https://github.com/Hugothms/get_next_line.git

Parameters:
1.file descriptor for reading
2.The value of what has been read

Return value:

  • return 1 when it read a line
  • return 0 when EOF is reach
  • return -1 when an error occurs

About

42 Project - Reading a line on a fd is way too tedious

Topics

Resources

License

Stars

Watchers

Forks

Languages