Skip to content

My third project in "school 21". Write a function which returns a line read from a file descriptor

Notifications You must be signed in to change notification settings

VukolRo/get_next_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

get_next_line

My third project in "school 42".

The 42 school's get_next_line project is where we learn to read from a file descriptor, as well as the use of static variables.

This function returns a single line from a given file descriptor. If called in a loop, get_next_line returns the entire contents of a file, line by line until it reaches the end of the file. It can be compiled specifying any buffer size.

About

My third project in "school 21". Write a function which returns a line read from a file descriptor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages