summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-02-05 19:48:58 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-02-05 19:48:58 -0800
commitfa469e2edd6ee75f8f0a6585322b3730eee23966 (patch)
treee2aa2f2294963f9abe0c2f1dea163683485cab0f
parent828c2f81be94c54365fff41154681e5ff4dee3f0 (diff)
downloadtxr-fa469e2edd6ee75f8f0a6585322b3730eee23966.tar.gz
txr-fa469e2edd6ee75f8f0a6585322b3730eee23966.tar.bz2
txr-fa469e2edd6ee75f8f0a6585322b3730eee23966.zip
doc: file-get-buf opens a binary stream.
* txr.1: It is wrongly documented that file-get-buf and comman-get-buf use text streams; they use binary streams.
-rw-r--r--txr.14
1 files changed, 2 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index 9da947e5..c94e2fb0 100644
--- a/txr.1
+++ b/txr.1
@@ -24953,7 +24953,7 @@ adjusts the length of the buffer to match the position that is returned.
.desc
The
.code file-get-buf
-function opens a text stream over the file indicated by the string argument
+function opens a binary stream over the file indicated by the string argument
.meta name
for reading. The entire file is read and its contents are returned as a
buffer object. The buffer's length corresponds to the number of bytes
@@ -24961,7 +24961,7 @@ read from the file.
The
.code command-get
-function opens text stream over an input command pipe created for
+function opens a binary stream over an input command pipe created for
the command string
.metn cmd ,
as if by the