istream_clear()
#
istream_clear()
resets both the reading and writing pointers of the given istream_h
instance, effectively clearing its internal buffer.
Prototype
void istream_clear(
istream_h istream
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The input stream handle whose buffer will be cleared. |
Return Value
This function does not return a value.
Notes
This function is equivalent to calling istream_reset_rd()
and istream_reset_wr()
in sequence.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples