Header: stdio.h
Syntax:
extern char *tmpnam
(
char * s
);
Purpose: Function generates a string that is not the same as the name of an existing file. It will generate a different string up to TMP_MAX times.
The buffer s, of size at least L_tmpnam characters, receives the name string. If s is NULL a static buffer internal to the C library will be used instead - this is not guaranteed to be valid after subsequent library calls.
|
|
|