guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 01/03: doc: Add documentation of the "b" flag to 'open-f


From: Ludovic Courtès
Subject: [Guile-commits] 01/03: doc: Add documentation of the "b" flag to 'open-file'.
Date: Wed, 7 Sep 2022 12:02:20 -0400 (EDT)

civodul pushed a commit to branch main
in repository guile.

commit 3cd488150416cac7bddbc270108545330c1fea4f
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Sep 7 17:42:53 2022 +0200

    doc: Add documentation of the "b" flag to 'open-file'.
    
    * doc/ref/api-io.texi (File Ports): Add documentation of the "b" flag,
    taken from the 'open-file' docstring.
---
 doc/ref/api-io.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/ref/api-io.texi b/doc/ref/api-io.texi
index 87d4af496..93bbca5ba 100644
--- a/doc/ref/api-io.texi
+++ b/doc/ref/api-io.texi
@@ -989,6 +989,10 @@ The "append mode" can be turned off while the port is in 
use
 The following additional characters can be appended:
 
 @table @samp
+@item b
+Open the underlying file in binary mode, if supported by the system.
+Also, open the file using the binary-compatible character encoding
+"ISO-8859-1", ignoring the default port encoding.
 @item +
 Open the port for both input and output.  E.g., @code{r+}: open
 an existing file for both input and output.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]