open-input-file -- r7rs Definition procedure;
open-input-file (from vonuvoli);Procedure variants:
((path-string) -> (textual-input-port-open))
path-string;textual-input-port-open;scheme:file -- (scheme file);scheme -- (scheme);(open-input-file string) (open-binary-input-file string)Takes a
stringfor an existing file and returns a textual input port or binary input port that is capable of delivering data from the file. If the file does not exist or cannot be opened, an error that satisfiesfile-error?is signaled.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.