summaryrefslogtreecommitdiffstats
path: root/doc/FileSystem.3
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-04-21 09:09:01 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-04-21 09:09:01 (GMT)
commit9d27c20d496ebe21ef04f49dc7b9c100a2de340e (patch)
treeb97730c95be6a7cfb01d6341e83a5ff48dd55ba5 /doc/FileSystem.3
parentd9dc3c7c3c720547bce9b9260cb6200ebaed735a (diff)
parentbcd88b005a09280f4b9725d611fd3763fd07241f (diff)
downloadtcl-9d27c20d496ebe21ef04f49dc7b9c100a2de340e.zip
tcl-9d27c20d496ebe21ef04f49dc7b9c100a2de340e.tar.gz
tcl-9d27c20d496ebe21ef04f49dc7b9c100a2de340e.tar.bz2
merge trunk
Diffstat (limited to 'doc/FileSystem.3')
-rw-r--r--doc/FileSystem.37
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/FileSystem.3 b/doc/FileSystem.3
index cf785ae..52eeb23 100644
--- a/doc/FileSystem.3
+++ b/doc/FileSystem.3
@@ -582,7 +582,7 @@ In addition, if \fIinterp\fR is non-NULL, \fBTcl_FSOpenFileChannel\fR
leaves an error message in \fIinterp\fR's result after any error.
.PP
The newly created channel is not registered in the supplied interpreter; to
-register it, use \fBTcl_RegisterChannel\fR, described below.
+register it, use \fBTcl_RegisterChannel\fR.
If one of the standard channels, \fBstdin\fR, \fBstdout\fR or \fBstderr\fR was
previously closed, the act of creating the new channel also assigns it as a
replacement for the standard channel.
@@ -1218,8 +1218,9 @@ In addition, if \fIinterp\fR is non-NULL, the
\fBTcl_FSOpenFileChannelProc\fR leaves an error message in \fIinterp\fR's
result after any error.
.PP
-The newly created channel is not registered in the supplied
-interpreter; to register it, use \fBTcl_RegisterChannel\fR. If one of
+The newly created channel must not registered in the supplied
+interpreter; that task is up to the caller of
+\fBTcl_FSOpenFileChannel\fR (if necessary). If one of
the standard channels, \fBstdin\fR, \fBstdout\fR or \fBstderr\fR was
previously closed, the act of creating the new channel also assigns it
as a replacement for the standard channel.