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:
“If we admit a thing so extraordinary as the creation of this world, it should seem that we admit something strange, and odd, and new to human apprehension, beyond any other miracle whatsoever.”
—George Berkeley (16851753)
“Party action should follow, not precede the creation of a dominant popular sentiment.”
—J. Ellen Foster (18401910)
“As a natural process, of the same character as the development of a tree from its seed, or of a fowl from its egg, evolution excludes creation and all other kinds of supernatural intervention.”
—Thomas Henry Huxley (182595)