4.3BSD/usr/man/man3/flush.3f

.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)flush.3f	6.1 (Berkeley) 5/15/85
.\"
.TH FLUSH 3F "May 15, 1985"
.UC 5
.SH NAME
flush \- flush output to a logical unit
.SH SYNOPSIS
.B subroutine flush (lunit)
.SH DESCRIPTION
.I Flush
causes the contents of the buffer for logical unit
.I lunit
to be flushed to the associated file.
This is most useful for logical units 0 and 6 when they are both
associated with the control terminal.
.SH FILES
.ie \nM /usr/ucb/lib/libI77.a
.el /usr/lib/libI77.a
.SH "SEE ALSO"
fclose(3S)