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:
“Theres something wonderfully exciting about the quiet sing song of an aeroplane overhead with all the guns in creation lighting out at it, and searchlights feeling their way across the sky like antennae, and the earth shaking snort of the bombs and the whimper of shrapnel pieces when they come down to patter on the roof.”
—John Dos Passos (18961970)
“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)
“For a woman to get a rewarding sense of total creation by way of the multiple monotonous chores that are her daily lot would be as irrational as for an assembly line worker to rejoice that he had created an automobile because he tightened a bolt.”
—Edith Mendel Stern (19011975)