summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-01 10:39:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-01 10:39:55 (GMT)
commit2f867a435f47f0a0b236c62f60108c2a366e8d86 (patch)
tree549a57e3ea28b3165549f464f1817e1d182a4ebd /doc
parent975d478bfaf46abfe1b34bdbd82dd0dc9556d864 (diff)
parent4b405eefc87b73626717793edab7f03e5c0399ec (diff)
downloadtcl-2f867a435f47f0a0b236c62f60108c2a366e8d86.zip
tcl-2f867a435f47f0a0b236c62f60108c2a366e8d86.tar.gz
tcl-2f867a435f47f0a0b236c62f60108c2a366e8d86.tar.bz2
Merge tip-597
Diffstat (limited to 'doc')
-rw-r--r--doc/refchan.n13
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.