Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>flushall</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
flushall

Usage

   #include <stdio.h>
   int flushall(void);

Description

   flushall flushes the I/O buffers for all open streams. Output buffers are
   written to their associated files and input buffers are cleared. All
   streams remain open after a call to flushall. Any read operation reads
   new data into the buffers.

Example 

   #include <stdio.h>

   #include <stdlib.h>

   int main()
   {
       int totalflushed;
       totalflushed = flushall();
       return EXIT_SUCCESS;
   }

Return Value

   flushall returns the number of open streams.

See Also

   fflush



See Also: fflush

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson