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:
“We should always remember that the work of art is invariably the creation of a new world, so that the first thing we should do is to study that new world as closely as possible, approaching it as something brand new, having no obvious connection with the worlds we already know. When this new world has been closely studied, then and only then let us examine its links with other worlds, other branches of knowledge.”
—Vladimir Nabokov (18991977)
“A fact is the end or last issue of spirit. The visible creation is the terminus or the circumference of the invisible world.”
—Ralph Waldo Emerson (18031882)
“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)