summaryrefslogtreecommitdiffstats
path: root/doc/flush.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/flush.n')
-rw-r--r--doc/flush.n5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/flush.n b/doc/flush.n
index b8bf3e9..1c79ea0 100644
--- a/doc/flush.n
+++ b/doc/flush.n
@@ -14,6 +14,7 @@ flush \- Flush buffered output for a channel
.SH SYNOPSIS
\fBflush \fIchannelId\fR
.BE
+
.SH DESCRIPTION
.PP
Flushes any output that has been buffered for \fIchannelId\fR.
@@ -30,16 +31,16 @@ nonblocking mode, the command may return before all buffered output has been
flushed; the remainder will be flushed in the background as fast as the
underlying file or device is able to absorb it.
.SH EXAMPLE
-.PP
Prompt for the user to type some information in on the console:
-.PP
.CS
puts -nonewline "Please type your name: "
\fBflush\fR stdout
gets stdin name
puts "Hello there, $name!"
.CE
+
.SH "SEE ALSO"
file(n), open(n), socket(n), Tcl_StandardChannels(3)
+
.SH KEYWORDS
blocking, buffer, channel, flush, nonblocking, output