Eyeon:Script/Reference/Libraries/os/tmpname

From VFXPedia

< Eyeon:Script | Reference | Libraries | os
Revision as of 14:01, 9 December 2006 by Peter (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

OS : os.tmpname

Arguments

os.tmpname()

Returns

Returns a string with a filename that can safely be used for a temporary file.


Remarks

The file must be explicitly opened before it can be used, and it must be explicitly destroyed when it is no longer needed. All the tmpfile function will do is provide a usefull name, it does not create the file or manage its contents.

This function is equivalent to the tmpnam C function, and many people advise against its use, since between the time you call the function and the time you open the file, it is possible for another process to create a file with the same name.

Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

No example available at thistime.


Tips for tmpname (edit)

EyeonTips:Script/Reference/Libraries/os/tmpname