Skip to content

Thopterek/get_next_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reading line by line from file descriptor

Screen Shot 2025-05-12 at 9 44 56 AM

Project had those requirments:

  • total of 10 functions used is the maximum
  • each function has at maximum 25 lines
  • reading as little data as possible with each call
  • for reading using the BUFFER_SIZE that can be changed
  • each returned line contains the newline character
  • no memory leaks or undefined behaviour no matter the usage
Screen Shot 2025-05-12 at 9 43 24 AM

About

C function to read line by line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages