diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-24 08:34:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-24 08:34:58 (GMT) |
commit | 1f20e5f697a37f6a03cbce32c5ed3aefce416bea (patch) | |
tree | 10fa034ba589c44f19c379a37827c33b755c0854 /doc | |
parent | ba718c26090c3d742694dc7a033b1ea9b0820e0d (diff) | |
parent | 6f14ff020a548ab6adcb30836c498ab0fe921970 (diff) | |
download | tcl-1f20e5f697a37f6a03cbce32c5ed3aefce416bea.zip tcl-1f20e5f697a37f6a03cbce32c5ed3aefce416bea.tar.gz tcl-1f20e5f697a37f6a03cbce32c5ed3aefce416bea.tar.bz2 |
merge trunk
Diffstat (limited to 'doc')
-rw-r--r-- | doc/FileSystem.3 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/FileSystem.3 b/doc/FileSystem.3 index 7475989..3cb2c7e 100644 --- a/doc/FileSystem.3 +++ b/doc/FileSystem.3 @@ -446,7 +446,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, stdout\fR or \fBstderr\fR was previously closed, the act of creating the new channel also assigns it as a replacement for the standard channel. @@ -991,8 +991,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, stdout\fR or \fBstderr\fR was previously closed, the act of creating the new channel also assigns it as a replacement for the standard channel. |