summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-11-18 22:41:41 (GMT)
committernijtmans <nijtmans>2009-11-18 22:41:41 (GMT)
commitb57c08b7e2ccf91e1096b30f2170d2f603f59e0c (patch)
tree01d099afa4749afee67d0a99e9e442dcebb9cc45 /doc
parenta9191c772b1a15d5f705b2d4fa807388370ac0f8 (diff)
downloadtcl-b57c08b7e2ccf91e1096b30f2170d2f603f59e0c.zip
tcl-b57c08b7e2ccf91e1096b30f2170d2f603f59e0c.tar.gz
tcl-b57c08b7e2ccf91e1096b30f2170d2f603f59e0c.tar.bz2
Fix [Bug 2849797]: channel name inconsistencies as suggested by DKF
minor *** POTENTIAL INCOMPATIBILITY *** because Tcl_CreateChannel() and its derivatives, now sometimes ignore their "chanName" argument.
Diffstat (limited to 'doc')
-rw-r--r--doc/CrtChannel.36
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/CrtChannel.3 b/doc/CrtChannel.3
index c5773a1..7b1c6d7 100644
--- a/doc/CrtChannel.3
+++ b/doc/CrtChannel.3
@@ -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: CrtChannel.3,v 1.43 2008/10/17 10:22:25 dkf Exp $
+'\" RCS: @(#) $Id: CrtChannel.3,v 1.44 2009/11/18 22:41:41 nijtmans Exp $
.so man.macros
.TH Tcl_CreateChannel 3 8.4 Tcl "Tcl Library Procedures"
.BS
@@ -127,7 +127,9 @@ can be called to perform I/O and other functions on the channel.
.AP "const char" *channelName in
The name of this channel, such as \fBfile3\fR; must not be in use
by any other channel. Can be NULL, in which case the channel is
-created without a name.
+created without a name. If the create channel is assigned to one
+of the standard channels (stdin, stdout or stderr), the assigned
+channel name will be the name of the standard channel.
.AP ClientData instanceData in
Arbitrary one-word value to be associated with this channel. This
value is passed to procedures in \fItypePtr\fR when they are invoked.