with-current-output-port*

[procedure] with-current-input-port* port thunk

[procedure] with-current-output-port* port thunk

[procedure] with-error-output-port* port thunk

Scsh: use port as a current input/output/error port and executes thunk. See also with-current-input-port, with-current-output-port, with-error-output-port, set-current-input-port!, set-current-output-port!, set-error-output-port!.

These functions are called with-input-from-port, with-output-to-port and with-error-to-port/with-error-output-to-port in some implementations.