Temporary File - Creation

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:

    Today, each artist must undertake to invent himself, a lifelong act of creation that constitutes the essential content of the artist’s work. The meaning of art in our time flows from this function of self-creation. Art is the laboratory for making new men.
    Harold Rosenberg (1906–1978)

    There’s 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 (1896–1970)

    Like witches they flew along rows
    Keeping creation at ease;
    With a tendril for needle
    They sewed up the air with a stem;
    Theodore Roethke (1908–1963)