[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.14.10 R6RS I/O Ports
The I/O port API of the Revised Report^6 on the Algorithmic Language Scheme (R6RS) is provided by the (rnrs
io ports)
module. It provides features, such as binary I/O and Unicode
string I/O, that complement or refine Guile’s historical port API
presented above (see section Input and Output). Note that R6RS ports are not
disjoint from Guile’s native ports, so Guile-specific procedures will
work on ports created using the R6RS API, and vice versa.
The text in this section is taken from the R6RS standard libraries document, with only minor adaptions for inclusion in this manual. The Guile developers offer their thanks to the R6RS editors for having provided the report’s text under permissive conditions making this possible.
Note: The implementation of this R6RS API is not complete yet.
6.14.10.1 File Names | File names. | |
6.14.10.2 File Options | Options for opening files. | |
6.14.10.3 Buffer Modes | Influencing buffering behavior. | |
6.14.10.4 Transcoders | Influencing port encoding. | |
6.14.10.5 The End-of-File Object | The end-of-file object. | |
6.14.10.6 Port Manipulation | Manipulating R6RS ports. | |
6.14.10.7 Input Ports | ||
6.14.10.8 Binary Input | Binary input. | |
6.14.10.9 Textual Input | Textual input. | |
6.14.10.10 Output Ports | ||
6.14.10.11 Binary Output | Binary output. | |
6.14.10.12 Textual Output | Textual output. |
A subset of the (rnrs io ports)
module, plus one non-standard
procedure unget-bytevector
(see section Binary Input), is
provided by the (ice-9 binary-ports)
module. It contains binary
input/output procedures and does not rely on R6RS support.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 20, 2013 using texi2html 5.0.