[go: up one dir, main page]

Skip to content

Get Next Line is a project at 42. It is a function that reads a file and allows you to read a line ending with a newline character from a file descriptor. When you call the function again on the same file, it grabs the next line

Notifications You must be signed in to change notification settings

Ajjig/GET_NEXT_LINE

Repository files navigation

Get_Next_Line

Get Next Line is a project at 42. It is a function that reads a file and allows you to read a line ending with a newline character from a file descriptor. When you call the function again on the same file, it grabs the next line

For detailed information. read the subject.pdf of this project.

Usage

To use the function on your code, just include the header

#include "Path/get_next_line.h"

then compile your source code with this flag

gcc -D BUFFER_SIZE={size}

About

Get Next Line is a project at 42. It is a function that reads a file and allows you to read a line ending with a newline character from a file descriptor. When you call the function again on the same file, it grabs the next line

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages