chickadee » chicken » file » call-with-temporary-file

call-with-temporary-file PROCprocedure

Creates a temporary file and calls PROC with an output port for the file and its pathname. The file has no extension and is created in the same directory as with create-temporary-file.

Returns the values returned by PROC. When PROC returns normally, the output port is closed. The file is not deleted.