1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

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.
This commit is contained in:
Ludovic Courtès 2022-09-07 17:42:53 +02:00
parent 61d8dab8ea
commit 3cd4881504

View file

@ -989,6 +989,10 @@ The "append mode" can be turned off while the port is in use
The following additional characters can be appended: The following additional characters can be appended:
@table @samp @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 + @item +
Open the port for both input and output. E.g., @code{r+}: open Open the port for both input and output. E.g., @code{r+}: open
an existing file for both input and output. an existing file for both input and output.