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 TI file system is not buffered (of course), fflush has no any effect, except undoing the effect of ungetc function. fflush returns 0 on success (which is always the case on the TI).