2.12.3.5 fflush

Declaration:

int fflush(FILE *stream);

Flushes the output buffer of a stream. If stream is a null pointer, then all output buffers are flushed.

If successful, it returns zero. On error it returns EOF.