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

Syntax

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

Usage

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

Returns

Returns the filename in name.

Non-ConfidentialPDF file icon PDF versionARM DUI0475M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.