about summary refs log tree commit diff stats
path: root/subx/Readme.md
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-04-12 21:49:32 -0700
committerKartik Agaram <vc@akkartik.com>2019-04-12 21:49:32 -0700
commit32693922472397beb0f835935e197ab59362d954 (patch)
treed040a491d381853fd1db28b04642b7b95f8f9306 /subx/Readme.md
parentfb2ffbd0960d8e9a9e8fd9daa9dc688405016ba2 (diff)
downloadmu-32693922472397beb0f835935e197ab59362d954.tar.gz
5086
Diffstat (limited to 'subx/Readme.md')
-rw-r--r--subx/Readme.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/subx/Readme.md b/subx/Readme.md
index 7f9ccd49..f842adfd 100644
--- a/subx/Readme.md
+++ b/subx/Readme.md
@@ -602,13 +602,21 @@ allocated memory for it.)_
 * `slice-ends-with?`: compares the end of a slice with a string
 
 #### 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.
 * `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.
 * `write-buffered`: string -> buffered-file
 * `write-slice`: slice -> buffered-file
 * `flush`: buffered-file
 * `print-byte`:  buffered-file, int
 
 #### reading from disk
+* `read`: file -> stream
+  - Can also be used to cat one stream into another.
+  - Will silently stop reading when destination runs out of space.
 * `read-byte`: buffered-file -> byte
 * `read-line`: buffered-file -> stream