Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.24 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.24 KB

🤓 get_next_line

💡 About

Prototype

char *get_next_line(int fd);

Turn-in files

  • get_next_line.c
  • get_next_line_utils.c
  • get_next_line.h

Return value

  • Read line: correct behavior
  • NULL: nothing else to read or an error occurred

Allowed external functions

  • read
  • malloc
  • free

Description

Write a function that returns a line read from a file descriptor.

How to hate yourself and memory management.

Subject

🇫🇷 Link to the subject here

🧪 Testing

Testing was conducted using francinette and gnlTester.