summaryrefslogtreecommitdiffstats
path: root/buf.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-08-21 20:09:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-08-21 20:09:11 -0700
commit5edadcdff0d80ceb5639dc31bbe7c2b43a1d2782 (patch)
treea8c900162613c7371b4cb3b836f17129b8a01308 /buf.c
parent342d92341cade83e4ac981f557a5af44846370cc (diff)
downloadtxr-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