_sys_tmpnam()
Defined in rt_sys.h, this function converts the file number fileno for a temporary file to a unique filename, for example, tmp0001.
rt_sys.h
fileno
tmp0001
void _sys_tmpnam(char *name, int fileno, unsigned maxlength);
name
maxlength
The function must be defined if tmpnam() or tmpfile() is used.
tmpnam()
tmpfile()
Returns the filename in name.
Using ARM® C and C++ Libraries and Floating-Point Support:
Direct semihosting C library function dependencies.