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++ Language Reference - flushall 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 call to flushall. Any  read  operation
   reads new data into the buffers.

   Example
   #include <stdio.h>
   main()
   {
   int totalflushed;
        totalflushed = flushall();
   }

   Return Value
   flushall returns the number of open streams.


See Also: fflush

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