summaryrefslogtreecommitdiff
path: root/tcl/doc/GetStdChan.3
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/doc/GetStdChan.3')
-rw-r--r--tcl/doc/GetStdChan.38
1 files changed, 6 insertions, 2 deletions
diff --git a/tcl/doc/GetStdChan.3 b/tcl/doc/GetStdChan.3
index 7192e4243ed..a35927d5b77 100644
--- a/tcl/doc/GetStdChan.3
+++ b/tcl/doc/GetStdChan.3
@@ -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_StandardChannels\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