Skip to content

This is a repository for the School 42 Málaga cursus project get_next_line. This function reads a file descriptor and returns a line, until the first line break.

Notifications You must be signed in to change notification settings

PublioElio/School-42-Get_Next_Line

Repository files navigation

School 42 get_next_line()

This is the repository for the School 42 Málaga cursus projectget_next_line().

About

The goal of this project is to create the function get_next_line.c which, when called in a loop, will read one line at a time in the file descriptor, until the end of the file. As stated in the subject, the program must compile with the flag-D BUFFER_SIZE= which will be used as the buffer size for the read calls in get_next_line(). You can find more details in the subject of the project.

This project is a introduction of static variables, which will be very useful for future projects. Also, as noted earlier, we'll learn how handle macros during compilation.

Testing

This function have been tested with Francinette.

About

This is a repository for the School 42 Málaga cursus project get_next_line. This function reads a file descriptor and returns a line, until the first line break.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages