current-input-port

[procedure] current-input-port

R5RS

See also current-output-port, current-error-port.

[procedure] current-input-port [newport]

ChezScheme and Chicken extends R5RS to allow to change the current input port by providing an optional argument.

Some implementations have set-current-input-port! to do so.