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)
“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)
“One of the necessary qualifications of an efficient business man in these days of industrial literature seems to be the ability to write, in clear and idiomatic English, a 1,000-word story on how efficient he is and how he got that way.... It seems that the entire business world were devoting its working hours to the creation of a school of introspective literature.”
—Robert Benchley (18891945)