[previous] [up] [next]     [index]
Next: Custom Ports Up: Ports Previous: String Ports

File-Stream Ports

A port created by open-input-file, open-output-file, process, and related function is a file-stream port. The initial input, output, and error ports in stand-alone MzScheme are also file-stream ports.

(file-stream-port? port) returns #t if the given port is a file-stream port, #f otherwise.

Two special procedures work primarily on file-stream ports:



PLT