Skip to content

Development repo for 42cursus' get_next_line project

Notifications You must be signed in to change notification settings

tugberkcil/get_next_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42cursus' get_next_line

Development repo for 42cursus' get_next_line project

GitHub code size in bytes Number of lines of code Code language count GitHub top language GitHub last commit

About ·


🗣️ About

  A line ending with a newline character can be read from a file descriptor using this function, which reads files. 
The function grabs the following line when you run it again on the same file. In order to prevent leaks, this 
project addresses memory allocation and when to free and allocate memory. If there was a mistake, a (-1) is 
given back. If the file reading is complete, a (0) is given back. And if a line is read, a (1) is returned.

For detailed information, refer to the subject of this project.

Releases

No releases published

Packages

No packages published

Languages