get_next_line_2021+ version


get_next_line was changed

back then we use function form like...

int get_next_line(int fd, char **line);

So, meanwhile... It should be use fd, char **line which will get a multiple lines of string and return success or failed.

but after that, we using like this

char *get_next_line(int fd);

Yes, It should be return the line which is explited by '\n'

so i have to change my code as fast as i can

Directory

get_next_line_old / get_next_line_old2 -> it's just past testing files
get_next_line -> it's really success files.

Grade

It's all of 125%.

Tester

At the first time I try to finish this project without any of Tester. Beacuse any of the Tester is working!
After 2 months, there is a good tester

https://github.com/Tripouille/gnlTester

reference from

I usually refer to below git repository.

https://github.com/Surfi89/get_next_line