summaryrefslogtreecommitdiffstats
path: root/doc/OpenFileChnl.3
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2001-09-10 21:49:37 (GMT)
committerandreas_kupries <akupries@shaw.ca>2001-09-10 21:49:37 (GMT)
commitb0368c3a289b08dbecaeb808c094815e55bf17de (patch)
tree44e5908fe9a1ff52b5f50e9ce6ffb12bfdf3fb53 /doc/OpenFileChnl.3
parent82ef0abf09a1133e86d414254b30dd7d574b93da (diff)
downloadtcl-b0368c3a289b08dbecaeb808c094815e55bf17de.zip
tcl-b0368c3a289b08dbecaeb808c094815e55bf17de.tar.gz
tcl-b0368c3a289b08dbecaeb808c094815e55bf17de.tar.bz2
* doc/tclsh.1:
* doc/Tcl_Main.3: * doc/CrtChannel.3: * doc/OpenFileChnl.3: * doc/GetStdChan.3: Enhanced the manpages with cross-references to the new manpage and more explanations how these functions deal with the standard channels in various situations. * doc/StdChannels.3: New manpage describing handling of the standard channels by the Tcl library [402725].
Diffstat (limited to 'doc/OpenFileChnl.3')
-rw-r--r--doc/OpenFileChnl.39
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/OpenFileChnl.3 b/doc/OpenFileChnl.3
index eeafd08..9237fb2 100644
--- a/doc/OpenFileChnl.3
+++ b/doc/OpenFileChnl.3
@@ -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: OpenFileChnl.3,v 1.10 2001/07/31 19:12:05 vincentdarley Exp $
+'\" RCS: @(#) $Id: OpenFileChnl.3,v 1.11 2001/09/10 21:49:37 andreas_kupries Exp $
.so man.macros
.TH Tcl_OpenFileChannel 3 8.3 Tcl "Tcl Library Procedures"
.BS
@@ -337,6 +337,13 @@ be registered in a Tcl interpreter and it will only be closed when the
matching number of calls to \fBTcl_UnregisterChannel\fR have been made.
This allows code executing outside of any interpreter to safely hold a
reference to a channel that is also registered in a Tcl interpreter.
+.PP
+This procedure interacts with the code managing the standard
+channels. If no standard channels were initialized before the first
+call to \fBTcl_RegisterChannel\fR they will get initialized by that
+call. See \fBTcl_StandardChannel\fR for a general treatise about
+standard channels and the behaviour of the Tcl library with regard to
+them.
.SH TCL_UNREGISTERCHANNEL
.PP