summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-07 18:55:09 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-07 18:55:09 -0700
commit85e80eb7f9dcc3e24b8a2d618525a4ce901d3982 (patch)
tree6e6e90066658d62acf64bbffbad2e08a4d8cdbe7 /txr.1
parent52fb4be87f0b7c398084866393ac4ce3842272aa (diff)
downloadtxr-85e80eb7f9dcc3e24b8a2d618525a4ce901d3982.tar.gz
txr-85e80eb7f9dcc3e24b8a2d618525a4ce901d3982.tar.bz2
txr-85e80eb7f9dcc3e24b8a2d618525a4ce901d3982.zip
Argument of flush-stream now optional.
* stream.c (flush_stream): Default the argument to std_output. (stream_init): Register flush-stream as having one optional arg. * txr.1: Updated flush-stream description.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.18
1 files changed, 7 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index 1007bf6d..8b1b3d60 100644
--- a/txr.1
+++ b/txr.1
@@ -34519,7 +34519,7 @@ Both functions return
.coNP Function @ flush-stream
.synb
-.mets (flush-stream << stream )
+.mets (flush-stream <> [ stream ])
.syne
.desc
This function is meaningful for output streams which accumulate data
@@ -34533,6 +34533,12 @@ to the operating system. If called on streams for which this function is not
meaningful, it does nothing, and returns
.codn nil .
+If
+.meta stream
+is omitted, the current value of
+.code *stdout*
+is used.
+
.coNP Function @ seek-stream
.synb
.mets (seek-stream < stream < offset << whence )