Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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