.\" @(#)flush.3f 1.3 86/01/02 SMI; from UCB 4.2 .TH FLUSH 3F "00/01/21" .SH NAME flush \- flush output to a logical unit .SH SYNOPSIS .\" .IX flush "" \fLflush\fP .\" .B INTEGER*4 function flush (lunit) .br .B integer*4 lunit .SH DESCRIPTION The .B flush function flushes the contents of the buffer for logical unit .I 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. .sp A positive error number is returned if an error is encountered; otherwise zero is returned. .\" .SH FILES .B libF77.a .SH "SEE ALSO" .BR fclose (3S)