/GNL

Get Next Line from a File Descriptor.

Primary LanguageC

Get_Next_Line

Write a function that returns a line read from a file descriptor - 42 Cursus

This function returns a line from a fd. In this case, it will return the following line each time we execute it.

In the bonus part, we will have to use a single static variable and be able to read several fd at the same time.

The external functions that are allowed are: malloc / read / free