Skip to content

My get next line (gnl) of 42 school. Very good project to parse some files for futures projects!

Notifications You must be signed in to change notification settings

MVPee/42-Get-next-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💥 get_next_line

Reading a line on a fd is way too tedious

💡 About the project

The aim of this project is to make you code a function that returns a line, read from a file descriptor.

Instructions

1. Using it in your code

To use the function in your code, simply include its header:

#include "get_next_line.h"

and, when compiling your code, add the source files and the required flag:

get_next_line.c get_next_line_utils.c -D BUFFER_SIZE=<size>
gcc -Wall -Werror -Wextra -D BUFFER_SIZE=xx get_next_line.c get_next_line_utils.c && ./a.out

You can use this tester made by Tripouille

image

Don't copy but learn

About

My get next line (gnl) of 42 school. Very good project to parse some files for futures projects!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages