Man Page flush.3f




NAME

     flush - flush output to a logical unit


SYNOPSIS

     INTEGER*4 function flush (lunit)
     integer*4 lunit


DESCRIPTION

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

     A positive error number is returned if an error  is  encoun-
     tered; otherwise zero is returned.


FILES

     libF77.a


SEE ALSO

     fclose(3S)