L
Lars Uffmann
Hi everyone!
I was wondring if the behaviour of cstdio's tmpnam is defined to produce
a different filename on two calls in a row even if the first filename
has not yet been used to create a file.
The documentation at
http://www.cplusplus.com/reference/clibrary/cstdio/tmpnam.html
makes no mention of the behaviour, but down at the example it says "This
program will generate two different names for temporary files." even
though no file is being actually created.
Anyone familiar with the way this function works?
Best Regards,
Lars
I was wondring if the behaviour of cstdio's tmpnam is defined to produce
a different filename on two calls in a row even if the first filename
has not yet been used to create a file.
The documentation at
http://www.cplusplus.com/reference/clibrary/cstdio/tmpnam.html
makes no mention of the behaviour, but down at the example it says "This
program will generate two different names for temporary files." even
though no file is being actually created.
Anyone familiar with the way this function works?
Best Regards,
Lars