INtime SDK Help
flushall

Writes the contents of all buffers associated with open output streams to their associated files.

#include <stdio.h>

int flushall (void);

Parameters

None.

Remarks

Clears all input stream buffers of their current contents. All streams remain open after the call. The next read operation reads new data into the buffers.

Buffers are automatically flushed when they are full, when streams are closed, or when a program terminates normally without closing streams.

Return Values

The number of open streams (input and output).

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdio.h stdio.h clib.lib

See Also

fflush