/42_GNL

Project : Get next line @ 42

Primary LanguageCMIT LicenseMIT

42_GNL

Project : Get next line @ 42

Content

Function that returns a line read from a file descriptor.

You can find the entire subject in the subjects/ directory.

Usage

/*
* fd : filedescriptor
* char **line : adress from the the line you want to stock 
*/
int get_next_line(int const fd, char **line)

Using Makefile

make ; make clean