Name
hw_TmpNamNew -- generate temporary file with options (V7.1)
Synopsis
int ok = hw_TmpNamNew(STRPTR buf, int bufsize, struct hwTagList *tags);
Function
This function will create a temporary file for you and copy its path to the specified buffer. The size of the buffer passed in buf must be specified in the bufsize argument.

Additionally, you can pass a tag list to hw_TmpNamNew(). The following tags are currently recognized:

HWTMPNAMTAG_USERAM:
If the iData member of this tag item is set to True, Hollywood will create the temporary file in the RAM disk on AmigaOS and compatible systems. If it is False, the temporary file is created on a physical disk. On non-Amiga systems this tag doesn't have any effect. Defaults to False.

This function is thread-safe.

Designer compatibility
Unsupported

Inputs
buf
pointer to a buffer receiving the file name
bufsize
size of the buffer in bytes
tags
optional parameters (see above)

Show TOC