Next: stdlib io simple, Previous: stdlib io conditions, Up: stdlib io [Index]
The (rnrs io ports (6))
library defines an I/O layer for
conventional, imperative buffered input and output. A port
represents a buffered access object for a data sink or source or both
simultaneously. The library allows ports to be created from arbitrary
data sources and sinks.
The (rnrs io ports (6))
library distinguishes between input
ports and output ports. An input port is a source for data,
whereas an output port is a sink for data. A port may be both an input
port and an output port; such a port typically provides simultaneous
read and write access to a file or other data.
The (rnrs io ports (6))
library also distinguishes between
binary ports, which are sources or sinks for uninterpreted bytes,
and textual ports, which are sources or sinks for characters and
strings.
This section uses input-port, output-port, binary-port, textual-port, binary-input-port, textual-input-port, binary-output-port, textual-output-port, and port as names for arguments that must be input ports (or combined input/output ports), output ports (or combined input/output ports), binary ports, textual ports, binary input ports, textual input ports, binary output ports, textual output ports, or any kind of port, respectively.
• stdlib io port file names: | File names. | |
• stdlib io port file options: | File options. | |
• stdlib io port buffer modes: | Buffer modes. | |
• stdlib io port transcoders: | Transcoders. | |
• stdlib io port eof object: | End of file object. | |
• stdlib io port io ports: | Input and output ports. | |
• stdlib io port input ports: | Input ports. | |
• stdlib io port binary input: | Binary input. | |
• stdlib io port textual input: | Textual input. | |
• stdlib io port output ports: | Output ports. | |
• stdlib io port binary output: | Binary output. | |
• stdlib io port textual output: | Textual output. | |
• stdlib io port input output ports: | Input/output ports. |
Next: stdlib io simple, Previous: stdlib io conditions, Up: stdlib io [Index]