4.46 _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 100073_0607_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.