Syntax
tmpnm(string, [string]])
Description
The tmpnam() function creates a new temporary file in the named directory, opens the file for reading and writing, and returns the resulting file name. A prefix can be given, which will be used as the first part of the file name.
Example
myfirstfile=tmpnam("/tmp")
mysecondfile=tmpnam("/tmp", "temp_file")
println(myfirstfile)
println(mysecondfile)
unlink(myfirstfile)
unlink(mysecondfile)
/tmp/3867638960
/tmp/temp_file1767542531