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:

    Some collaboration has to take place in the mind between the woman and the man before the art of creation can be accomplished. Some marriage of opposites has to be consummated. The whole of the mind must lie wide open if we are to get the sense that the writer is communicating his experience with perfect fullness.
    Virginia Woolf (1882–1941)

    For me, the principal fact of life is the free mind. For good and evil, man is a free creative spirit. This produces the very queer world we live in, a world in continuous creation and therefore continuous change and insecurity. A perpetually new and lively world, but a dangerous one, full of tragedy and injustice. A world in everlasting conflict between the new idea and the old allegiances, new arts and new inventions against the old establishment.
    Joyce Cary (1888–1957)

    Party action should follow, not precede the creation of a dominant popular sentiment.
    J. Ellen Foster (1840–1910)