diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-08-21 20:09:11 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-08-21 20:09:11 -0700 |
commit | 5edadcdff0d80ceb5639dc31bbe7c2b43a1d2782 (patch) | |
tree | a8c900162613c7371b4cb3b836f17129b8a01308 /buf.c | |
parent | 342d92341cade83e4ac981f557a5af44846370cc (diff) | |
download | txr-5edadcdff0d80ceb5639dc31bbe7c2b43a1d2782.tar.gz txr-5edadcdff0d80ceb5639dc31bbe7c2b43a1d2782.tar.bz2 txr-5edadcdff0d80ceb5639dc31bbe7c2b43a1d2782.zip |
Default the length argument of truncate-stream.
* stream.c (truncate_stream): If the len argument is missing,
default to the current position, obtained by using the seek
operation.
(stream_init): Fix up registration of truncate-stream for one
optional argument.
* txr.1: Documentation of truncate-stream updated.
Diffstat (limited to 'buf.c')
0 files changed, 0 insertions, 0 deletions