Next: Current Ports Up: System Utilities Previous: System Utilities

# Ports

The global variable `eof` is bound to the end-of-file value. The standard Scheme predicate `eof-object?` returns `#t` only when applied to this value. The predicate `port?` returns `#t` only for values for which either `input-port?` or `output-port?` returns `#t`.

- Current Ports
- Opening File Ports
- Pipes
- String Ports
- File-Stream Ports
- Custom Ports
- Reading and Printing
- Customizing Read
- Customizing Display, Write, and Print