Creation
On POSIX systems, temporary files can be safely created with the mkstemp
or tmpfile
library functions, or with the mktemp
program. These files are typically located in the standard temporary directory, /tmp on Unix machines or %TEMP% (which is log-in specific) on Windows machines.
A temporary file created with tmpfile
is deleted automatically when the program exits or the file is closed. To generate a temporary file name that will survive past the lifespan of the creating program, tmpnam
or GetTempFileName(...)
(Windows only) can be used.
Read more about this topic: Temporary File
Famous quotes containing the word creation:
“The human spirit is itself the most wonderful fairy tale that can possibly be. What a magnificent world lies enclosed within our bosoms! No solar orbit hems it in, the inexhaustible wealth of the total visible creation is outweighed by its riches!”
—E.T.A.W. (Ernst Theodor Amadeus Wilhelm)
“There have been heroes for whom this world seemed expressly prepared, as if creation had at last succeeded; whose daily life was the stuff of which our dreams are made, and whose presence enhanced the beauty and ampleness of Nature herself.”
—Henry David Thoreau (18171862)
“If they had said that the sun or the moon had gone out of the heavens, it could not have struck me with the idea of a more awful and dreary blank in creation than the words: Byron is dead!”
—Jane Welsh Carlyle (18011866)