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 thousand forests is in one acorn, and Egypt, Greece, Rome, Gaul, Britain, America, lie folded in the first man.
    Ralph Waldo Emerson (1803–1882)

    Like everything which is not the involuntary result of fleeting emotion but the creation of time and will, any marriage, happy or unhappy, is infinitely more interesting than any romance, however passionate.
    —W.H. (Wystan Hugh)

    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)