about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-09 15:53:36 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-09 15:53:36 -0700
commitc01f78ff6a70db6b03504f077f871da3b5168668 (patch)
tree1191651080a01b267739523df3b9efa8462c5921
parent476049a09da496c265e5a9b24466da1b28d66ef6 (diff)
downloadmu-c01f78ff6a70db6b03504f077f871da3b5168668.tar.gz
update library docs
-rw-r--r--subx/Readme.md18
1 files changed, 13 insertions, 5 deletions
diff --git a/subx/Readme.md b/subx/Readme.md
index cb00eae0..57efa780 100644
--- a/subx/Readme.md
+++ b/subx/Readme.md
@@ -627,18 +627,26 @@ allocated memory for it.)_
 #### writing to disk
 * `write`: string -> file
   - Can also be used to cat a string into a stream.
-  - Will abort the entire program if there isn't enough room.
+  - Will abort the entire program if destination is a stream and doesn't have
+    enough room.
 * `write-stream`: stream -> file
   - Can also be used to cat one stream into another.
-  - Will abort the entire program if there isn't enough room.
+  - Will abort the entire program if destination is a stream and doesn't have
+    enough room.
+* `write-slice`: slice -> stream
+  - Will abort the entire program if there isn't enough room in the
+    destination stream.
 * `append-byte`: int -> stream
-  - Will abort the entire program if there isn't enough room.
+  - Will abort the entire program if there isn't enough room in the
+    destination stream.
 * `append-byte-hex`: int -> stream
   - textual representation in hex, no '0x' prefix
-  - Will abort the entire program if there isn't enough room.
+  - Will abort the entire program if there isn't enough room in the
+    destination stream.
 * `print-int32`: int -> stream
   - textual representation in hex, including '0x' prefix
-  - Will abort the entire program if there isn't enough room.
+  - Will abort the entire program if there isn't enough room in the
+    destination stream.
 * `write-buffered`: string -> buffered-file
 * `write-slice-buffered`: slice -> buffered-file
 * `flush`: buffered-file