_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.

Show/hideSyntax

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

Show/hideUsage

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

Show/hideReturns

Returns the filename in name.

Show/hideSee also

Reference

Using ARM® C and C++ Libraries and Floating-Point Support:

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0492E
Non-ConfidentialID071611