[procedure] open-input-file filename

R5RS: Takes a string naming an existing file and returns an input port capable of delivering characters from the file. If the file cannot be opened, an error is signalled.

See also open-output-file.

Bigloo, STk: extends this to allow piped command in filename.

[procedure] open-input-file filename [mode]

Chicken: takes an optional argument which can be #:text, #:binary or #:append.

[procedure] open-input-file filename [flags]

Scsh: flags is an integer composed by or-ing bit flags.

[procedure] open-input-file filename [options ...]

Gauche extends R5RS to take various keyword arguments to customize behavior of open-input-file.