|
||
FILE *tmpfile( void );
|
|
|
Synopsis |
#include "stdio.h"
The tmpfile function creates a temporary file
|
|
Parameters |
none
|
|
Return Value |
tmpfile returns a file pointer to the temporary file if successful, otherwise it returns NULL
|
|
Remarks |
The temporary file is created in the root directory in binary read/write mode. This temporary file is automatically deleted when the file is closed or when the program terminates normally.
|
|
See Also |
|