[previous] [up] [next]     [index]
Next: Reading and Printing Up: Ports Previous: File-Stream Ports

Custom Ports

The make-input-port and make-output-port procedures create ports with arbitrary control procedures:

Ports created by make-input-port and make-output-port are immediately open for reading or writing. If the close procedure does not have any side-effects, then the custom port does not need to be explicitly closed.



PLT