The mi_stream_clear_eof() function

The mi_stream_clear_eof() function clears the end-of-file marker for a stream.

Syntax

mi_integer mi_stream_clear_eof(strm_desc)
      MI_STREAM *strm_desc;
strm_desc
A pointer to a stream descriptor for an open stream.
Valid in client LIBMI application? Valid in user-defined routine?
No Yes

Return values

MI_TRUE
The end-of-file marker has been cleared.
MI_STREAM_EBADARG
The stream descriptor that strm_desc references is invalid.