Skip to content

GinaldoFT/get_next_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

get_next_line cover

๐Ÿ“„ get_next_line

get_next_line is a function that reads and returns one line at a time from a file descriptor.
This project is part of the 42 school curriculum and focuses on low-level file I/O, memory management, and the use of static variables.

get_next_line badge


๐Ÿง  Project Objective

The objective of get_next_line is to implement a function that:

  • Reads from a file descriptor using a buffer of fixed size
  • Returns a full line, ending with \n (if present)
  • Handles incomplete reads and buffers properly
  • Manages memory and leftover data between function calls using a static variable

About

A 42 project: read a file line by line with get_next_line function implementation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages