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.
- Host: GitHub
- URL: https://github.com/anicusan/get_next_line
- Owner: anicusan
- License: mit
- Created: 2017-04-27T13:03:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-27T13:44:44.000Z (almost 8 years ago)
- Last Synced: 2024-12-27T06:12:53.426Z (4 months ago)
- Language: C
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.