You copied the Doc URL to your clipboard.

4.43 _sys_tmpnam()

Defined in rt_sys.h, the _sys_tmpnam() function converts the file number fileno for a temporary file to a unique filename, for example, tmp0001.


void _sys_tmpnam(char *name, int fileno, unsigned maxlength);


The function must be defined if tmpnam() or tmpfile() is used.


Returns the filename in name.

Was this page helpful? Yes No