delete-file -- r7rs Definition procedure;
fs-file-delete (from vonuvoli);Procedure variants:
((path-string) -> (undefined))
path-string;undefined;scheme:file -- (scheme file);scheme -- (scheme);(delete-file filename)Domain: It is an error if
filenameis not a string.The
delete-fileprocedure deletes the named file if it exists and can be deleted, and returns an unspecified value. If the file does not exist or cannot be deleted, 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.