Go to main content
Oracle Developer Studio 12.5 Man Pages

Exit Print View

Updated: June 2017
 
 

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 encountered; otherwise zero is returned.

Files

libfsu.a

See Also

fclose(3C)