Arc Cross Reference

call-w/stdin

[procedure] call-w/stdout oport thunk

[procedure] call-w/stdin iport thunk

[macro] w/stdout oport body ...

[macro] w/stdin iport body ...

Calls thunk while stdout or stdin is switched to oport or sport, respectively.

w/stdout and w/stdin are convenience macro around call-w/stdout and call-w/stdin.

See also scheme:with-input-from-port, scheme:with-output-to-port.