mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +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:
parent
61d8dab8ea
commit
3cd4881504
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue