| fflush | Function (Macro)

stdio.h

short fflush (FILE *stream);

Flushes a stream.

fflush is supposed to flush the output buffer for stream to the associated file if the given stream has buffered output. As the TI file system is not buffered (of course), fflush has no effect, except for undoing the effect of the ungetc function. fflush returns 0 on success (which is always the case on the TI).