diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-03-18 09:26:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-03-18 09:26:03 (GMT) |
commit | 9de296083348fe22ec2bca64c0abfb3da0bb2d8d (patch) | |
tree | ba7e0ecce9e22ef7cbbe3195f11eeefd0e4d6f4c /doc | |
parent | f6faef70707e53c51b6859fb5fddb09fd64eb62f (diff) | |
download | tcl-9de296083348fe22ec2bca64c0abfb3da0bb2d8d.zip tcl-9de296083348fe22ec2bca64c0abfb3da0bb2d8d.tar.gz tcl-9de296083348fe22ec2bca64c0abfb3da0bb2d8d.tar.bz2 |
Proposed implementation of RFE [4b4830eb54]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/refchan.n | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/refchan.n b/doc/refchan.n index 8737556..c17117d 100644 --- a/doc/refchan.n +++ b/doc/refchan.n @@ -322,6 +322,19 @@ invocation (usually \fBfconfigure\fR or \fBchan configure\fR) will appear to have thrown this error. Any exception beyond \fBerror\fR (e.g.,\ \fBbreak\fR, etc.) is treated as and converted to an error. .RE +.TP +\fIcmdPrefix \fBtruncate\fR \fIchannelId length\fR +. +This \fIoptional\fR subcommand handles changing the length of the +underlying data stream for the channel \fIchannelId\fR. Its length +gets set to \fIlength\fR. +.RS +.PP +If the subcommand throws an error the command which caused its +invocation (usually \fBchan truncate\fR) will appear to have thrown +this error. Any exception beyond \fBerror\fR (e.g.,\ \fBbreak\fR, +etc.) is treated as and converted to an error. +.RE .SH NOTES Some of the functions supported in channels defined in Tcl's C interface are not available to channels reflected to the Tcl level. |