mathias-mrsn / get_next_line

Function similar to getline in C++ for your lift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning

The sharing of this project on my GitHub aims to help peoples to open their minds to new logics or help peoples in case of difficulty. In no way, that aims to copy and paste this work on your own repository.

get_next_line

get_next_line is a project from the 42 Common Core, use this function in a loop to read a file line by line until the end of it.

prototype

char *get_next_line(int fd);

bonus

The bonus parts of this project are the next one :

  • Manage multiple fd without losing any character.
  • Only use a single static variable.

About

Function similar to getline in C++ for your lift

License:MIT License


Languages

Language:C 100.0%