◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The flushall function writes to their associated files the contents of all buffers associated with open output streams. All buffers associated with open input streams are cleared of their current contents. The next read operation (if there is one) then reads new data from the input files into the buffers. Buffers are automatically flushed when they are full, when streams are closed, or when a program terminates normally without closing streams. All streams remain open after the call to flushall. Return Value The flushall function returns the number of open streams (input and output). There is no error return. -♦-