C++ Programming/Code/Standard C Library/Functions/tmpnam

From Wikibooks, open books for an open world
Jump to navigation Jump to search

tmpnam[edit | edit source]

Syntax
#include <cstdio>
char *tmpnam( char *name );

The tmpnam() function creates a unique filename and stores it in name. tmpnam() can be called up to TMP_MAX times.

Related topics
tmpfile