Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

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

libfui.a

See also

fclose(3C)