Functions
core/vul/vul_temp_filename.cxx File Reference
#include "vul_temp_filename.h"
#include <vcl_string.h>
#include <vcl_ctime.h>
#include <vcl_cstdlib.h>

Go to the source code of this file.

Functions

vcl_string vul_temp_filename ()
 Generates a temporary filename.

Function Documentation

vcl_string vul_temp_filename ( )

Generates a temporary filename.

There is a possible race condition, in that some other process may open a the temporary file between the time tmpnam creates (and tests) it, and the time the calling program opens it.

Definition at line 69 of file vul_temp_filename.cxx.