diff options
Diffstat (limited to 'doc/chan.n')
-rw-r--r-- | doc/chan.n | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: chan.n,v 1.7 2006/12/01 15:55:44 dgp Exp $ +'\" RCS: @(#) $Id: chan.n,v 1.8 2006/12/06 01:42:00 das Exp $ .so man.macros .TH chan n 8.5 Tcl "Tcl Built-In Commands" .BS @@ -495,9 +495,9 @@ only those channel names that match it (according to the rules of .TP \fBchan pending \fImode channelId\fR . -Depending on whether \fImode\fr is "input" or "output", returns the number of +Depending on whether \fImode\fR is "input" or "output", returns the number of bytes of input or output (respectively) currently buffered -internally for \fIchannelId\fr (especially useful in a readable event +internally for \fIchannelId\fR (especially useful in a readable event callback to impose application-specific limits on input line lengths to avoid a potential denial-of-service attack where a hostile user crafts an extremely long line that exceeds the available memory to buffer it). |