Fortran Library Reference

flush: Flush Output to a Logical Unit

The subroutine is called by:

call flush( lunit )

lunit

INTEGER*4

Input 

Logical unit 

The flush subroutine flushes the contents of the buffer for the logical unit, lunit, to the associated file. This is most useful for logical units 0 and 6 when they are both associated with the console terminal.

See also fclose(3S).