sarahmss / 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"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"


Languages

Language:C 100.0%