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:
“I do not, like the Fundamentalists, believe that creation stopped six thousand years ago after a week of hard work. Creation is going on all the time.”
—George Bernard Shaw (18561950)
“Some collaboration has to take place in the mind between the woman and the man before the art of creation can be accomplished. Some marriage of opposites has to be consummated. The whole of the mind must lie wide open if we are to get the sense that the writer is communicating his experience with perfect fullness.”
—Virginia Woolf (18821941)