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:
“As every season seems best to us in its turn, so the coming in of spring is like the creation of Cosmos out of Chaos and the realization of the Golden Age.”
—Henry David Thoreau (18171862)
“Poetry, at all times, exercises two distinct functions: it may reveal, it may unveil to every eye, the ideal aspects of common things ... or it may actually add to the number of motives poetic and uncommon in themselves, by the imaginative creation of things that are ideal from their very birth.”
—Walter Pater (18391894)
“Books choose their authors; the act of creation is not entirely a rational and conscious one.”
—Salman Rushdie (b. 1947)