diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-01 10:39:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-01 10:39:55 (GMT) |
commit | 2f867a435f47f0a0b236c62f60108c2a366e8d86 (patch) | |
tree | 549a57e3ea28b3165549f464f1817e1d182a4ebd /doc | |
parent | 975d478bfaf46abfe1b34bdbd82dd0dc9556d864 (diff) | |
parent | 4b405eefc87b73626717793edab7f03e5c0399ec (diff) | |
download | tcl-2f867a435f47f0a0b236c62f60108c2a366e8d86.zip tcl-2f867a435f47f0a0b236c62f60108c2a366e8d86.tar.gz tcl-2f867a435f47f0a0b236c62f60108c2a366e8d86.tar.bz2 |
Merge tip-597
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. |