Ramkumar Ramachandra wrote:
Jonathan Nieder wrote:
quoted
This library provides thread-unsafe fgets()- and fread()-like
functions where the caller does not have to supply a buffer. It
maintains a couple of static buffers and provides an API to use
them.
Few (no?) changes since last time.
I simplified it a bit by getting rid of pushback.
static uint32_t line_buffer_len = 0;
static uint32_t line_len = 0;
Sorry, I should have mentioned so.
Jonathan