summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-07-19 10:06:37 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-07-19 10:06:37 -0700
commit5b0a9e5fe1032653c745e56a2f39561a1d7b7661 (patch)
treef3482e19ef5016097978388268d0f5f846dade95 /stream.h
parent74880de58e4f3ae6e0a84187f92e6853c37aa64e (diff)
downloadtxr-5b0a9e5fe1032653c745e56a2f39561a1d7b7661.tar.gz
txr-5b0a9e5fe1032653c745e56a2f39561a1d7b7661.tar.bz2
txr-5b0a9e5fe1032653c745e56a2f39561a1d7b7661.zip
* stream.c (put_strings, put_lines): New functions.
(stream_init): Registered new functions as intrinsics. * stream.h (put_strings, put_lines): Declared. * txr.1: Documented.
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream.h b/stream.h
index dee60cb8..4b7b2fe5 100644
--- a/stream.h
+++ b/stream.h
@@ -92,6 +92,8 @@ val put_string(val string, val stream);
val put_line(val string, val stream);
val put_char(val ch, val stream);
val put_byte(val byte, val stream);
+val put_strings(val strings, val stream);
+val put_lines(val lines, val stream);
val flush_stream(val stream);
val seek_stream(val stream, val offset, val whence);
val get_string(val stream, val nchars);