summaryrefslogtreecommitdiffstats
path: root/doc/flush.n
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2001-09-14 19:20:39 (GMT)
committerandreas_kupries <akupries@shaw.ca>2001-09-14 19:20:39 (GMT)
commite670c6f17e7ac704c3c6f117912e45313254d4d9 (patch)
tree601c942962a61099835ec8cca4eb537578460b9d /doc/flush.n
parent1aa543f158267b3810d76b69186f8aa94aec2c84 (diff)
downloadtcl-e670c6f17e7ac704c3c6f117912e45313254d4d9.zip
tcl-e670c6f17e7ac704c3c6f117912e45313254d4d9.tar.gz
tcl-e670c6f17e7ac704c3c6f117912e45313254d4d9.tar.bz2
* doc/gets.n:
* doc/read.n: * doc/puts.n: * doc/flush.n: * doc/fconfigure.n: * doc/flush.n: * doc/eof.n: * doc/seek.n: * doc/tell.n: * doc/close.n: * doc/fileevent.n: Added references to the Tcl standard channels. Item [219250], reported by David LeBlanc <whisper@oz.net>. Thanks to Christopher Nelson <chris@pinebush.com> for doing editorial work.
Diffstat (limited to 'doc/flush.n')
-rw-r--r--doc/flush.n15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/flush.n b/doc/flush.n
index 8fb87f6..172555c 100644
--- a/doc/flush.n
+++ b/doc/flush.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: flush.n,v 1.3 2000/09/07 14:27:48 poenitz Exp $
+'\" RCS: @(#) $Id: flush.n,v 1.4 2001/09/14 19:20:40 andreas_kupries Exp $
'\"
.so man.macros
.TH flush n 7.5 Tcl "Tcl Built-In Commands"
@@ -20,8 +20,15 @@ flush \- Flush buffered output for a channel
.SH DESCRIPTION
.PP
Flushes any output that has been buffered for \fIchannelId\fR.
-\fIChannelId\fR must be a channel identifier such as returned by a previous
-\fBopen\fR or \fBsocket\fR command, and it must have been opened for writing.
+.PP
+.VS
+\fIChannelId\fR must be an identifier for an open channel such as a
+Tcl standard channel (\fBstdout\fR or \fBstderr\fR), the return
+value from an invocation of \fBopen\fR or \fBsocket\fR, or the result
+of a channel creation command provided by a Tcl extension. The
+channel must have been opened for writing.
+.VE
+.PP
If the channel is in blocking mode the command does not return until all the
buffered output has been flushed to the channel. If the channel is in
nonblocking mode, the command may return before all buffered output has been
@@ -29,7 +36,7 @@ flushed; the remainder will be flushed in the background as fast as the
underlying file or device is able to absorb it.
.SH "SEE ALSO"
-file(n), open(n), socket(n)
+file(n), open(n), socket(n), Tcl_StandardChannels(3)
.SH KEYWORDS
blocking, buffer, channel, flush, nonblocking, output