tmpnam function — Returns a temporary filename
char* tmpnam(char* s)
The tmpnam
function
generates a unique filename and returns a pointer to that name. If
the s
parameter is not null, it
must point to an array of at least L_tmpnam
characters, the new filename is
copied into that array, and s
is
returned. If s
is null, a static
character array is returned; the contents of the array are
overwritten each time tmpnam
is
called.