summaryrefslogtreecommitdiffstats
path: root/doc/GetStdChan.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/GetStdChan.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/GetStdChan.3')
-rw-r--r--doc/GetStdChan.310
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/GetStdChan.3 b/doc/GetStdChan.3
index 565eaa7..c78bc96 100644
--- a/doc/GetStdChan.3
+++ b/doc/GetStdChan.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: GetStdChan.3,v 1.2 1998/09/14 18:39:48 stanton Exp $
+'\" RCS: @(#) $Id: GetStdChan.3,v 1.3 2001/09/10 21:49:37 andreas_kupries Exp $
'\"
.so man.macros
.TH Tcl_GetStdChannel 3 7.5 Tcl "Tcl Library Procedures"
@@ -59,15 +59,19 @@ file handle. If \fBTcl_SetStdChannel\fR is called before
\fBTcl_GetStdChannel\fR, then the default channel will not be created.
.PP
If one of the standard channels is set to NULL, either by calling
-\fBTcl_SetStdChannel\fR with a null \fIchannel\fR argument, or by calling
+\fBTcl_SetStdChannel\fR with a NULL \fIchannel\fR argument, or by calling
\fBTcl_Close\fR on the channel, then the next call to \fBTcl_CreateChannel\fR
will automatically set the standard channel with the newly created channel. If
more than one standard channel is NULL, then the standard channels will be
assigned starting with standard input, followed by standard output, with
standard error being last.
+.PP
+See \fBTcl_StandardChannel\fR for a general treatise about standard
+channels and the behaviour of the Tcl library with regard to them.
+.PP
.SH "SEE ALSO"
-Tcl_Close(3), Tcl_CreateChannel(3)
+Tcl_Close(3), Tcl_CreateChannel(3), Tcl_Main(3), tclsh(1)
.SH KEYWORDS
standard channel, standard input, standard output, standard error