summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.115
1 files changed, 15 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 32577e58..899b3c69 100644
--- a/txr.1
+++ b/txr.1
@@ -31010,6 +31010,21 @@ and the previous position wasn't zero, then the position is decremented by one.
On failure, it throws an exception of type
.codn stream-error .
+.coNP Function @ truncate-stream
+.synb
+.mets (truncate-stream < stream << length )
+.syne
+.desc
+The
+.code truncate-stream
+causes the length of the underlying file associated with
+.meta stream
+to be set to
+.meta length
+bytes.
+
+The stream must be a file stream, and must be open for writing.
+
.coNP Functions @ stream-get-prop and @ stream-set-prop
.synb
.mets (stream-get-prop < stream << indicator )