![]() |
O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
|
Functions common to all input streams. More...
#include "o2s/input_stream.h"
Go to the source code of this file.
Functions | |
istream_t | istream_init (size_t buffer_size, bool(*accumulate)(istream_t *, size_t)) |
Allocate a buffer and set the member function. | |
void | istream_close (istream_t *self) |
Free the buffer. | |
bool | istream_has_at_least (const istream_t *self, size_t count) |
Test if enough characters are available. |
Functions common to all input streams.
Definition in file input.c.
bool istream_has_at_least | ( | const istream_t * | self, |
size_t | count ) |