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:

    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 (1803–1882)

    The practice of S/M is the creation of pleasure.... And that’s why S/M is really a subculture. It’s a process of invention. S/M is the use of a strategic relationship as a source of pleasure.
    Michel Foucault (1926–1984)

    She sings as the moon sings:
    “I am I, am I;
    The greater grows my lift
    The further that I fly.”
    All creation shivers
    With that sweet cry.
    William Butler Yeats (1865–1939)