Syntax
string mktemp ( string template )
Description
mktemp returns a unique filename which is guaranteed not to exist on the policy server. Use the mktemp function to create unique temporary filenames.
For more information, see the mktemp(3) man page.
Example
#generate a unique filename–the XXXXXX chars will be replaced to construct a unique name filename=mktemp("/tmp/pmXXXXXX"); print(filename); // prints "/tmp/pmAxK2de"