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:

    The creation of a world view is the work of a generation rather than of an individual, but we each of us, for better or for worse, add our brick to the edifice.
    John Dos Passos (1896–1970)

    The very austerity of the Brahmans is tempting to the devotional soul, as a more refined and nobler luxury. Wants so easily and gracefully satisfied seem like a more refined pleasure. Their conception of creation is peaceful as a dream.
    Henry David Thoreau (1817–1862)

    Humility like darkness reveals the heavenly lights. The shadows of poverty and meanness gather around us, “and lo! creation widens to our view.”
    Henry David Thoreau (1817–1862)