An open API service indexing awesome lists of open source software.

https://github.com/anicusan/get_next_line

Function to read a file line by line, returning each as a new string. Adjustable BUFF_SIZE. One Static variable. Efficient memory and error management. 0 Memory Leaks.
https://github.com/anicusan/get_next_line

Last synced: 2 months ago
JSON representation

Function to read a file line by line, returning each as a new string. Adjustable BUFF_SIZE. One Static variable. Efficient memory and error management. 0 Memory Leaks.

Awesome Lists containing this project

README

        

# get_next_line

Program to read a file line by line, returning each as a new string. Adjustable BUFF_SIZE.

- One Static variable.
- Efficient memory and error management.
- 0 Memory Leaks. Swag.
- Bloody Norme respecting: No global variables, maximum 25 lines/function, maximum 5 functions/file, only heap-allocated memory, special naming of structs and more rules. Many more.