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

Custom Ports

Ports with arbitrary control procedures are created with make-input-port and make-output-port:

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