Skip to content

The second project in 42Cursus, with this function we are able to "read the text available on a file descriptor one line at a time until the EOF"

Notifications You must be signed in to change notification settings

sarahmss/get_next_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

get_next_line

The second project in 42Cursus, with this function we are able to read the text available on a file descriptor one line at a time until the EOF.

Study Links

  1. everthing is a file: https://www.youtube.com/watch?v=dDwXnB6XeiA
  2. How to manipulate fd: https://www.youtube.com/watch?v=dP3N8g7h8gY&ab_channel=ShellWaveShellWave
  3. D flag used to set BUFFER_SIZE: https://www.rapidtables.com/code/linux/gcc/gcc-d.html
  4. Static variables: https://www.geeksforgeeks.org/static-variables-in-c/ https://craftofcoding.wordpress.com/2015/12/07/memory-in-c-the-stack-the-heap-and-static/

About

The second project in 42Cursus, with this function we are able to "read the text available on a file descriptor one line at a time until the EOF"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages