open-output-file -- r7rs Definition procedure;
open-output-file (from vonuvoli);Procedure variants:
((path-string) -> (textual-output-port-open))
path-string;textual-output-port-open;scheme:file -- (scheme file);scheme -- (scheme);(open-output-file string) (open-binary-output-file string)Takes a
stringnaming an output file to be created and returns a textual output port or binary output port that is capable of writing data to a new file by that name.If a file with the given name already exists, the effect is unspecified. If the file cannot be opened, an error that satisfies
file-error?is signaled.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.