Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/medidbella/get_next_line
a function that returns the first line in a file pointed by a file descriptor, and for every additional call in the same process it returns the next line
https://github.com/medidbella/get_next_line
readline
Last synced: 29 days ago
JSON representation
a function that returns the first line in a file pointed by a file descriptor, and for every additional call in the same process it returns the next line
- Host: GitHub
- URL: https://github.com/medidbella/get_next_line
- Owner: medidbella
- Created: 2023-12-11T17:39:57.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-16T12:04:56.000Z (about 1 year ago)
- Last Synced: 2024-11-12T03:37:12.207Z (3 months ago)
- Topics: readline
- Language: C
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
this function takes a file descriptor and returns a string that
contains the first line in the file if you call the function multiple
times on one process it returns line after line per call
with the help of the only one static variable