tmpfile function — Opens a temporary file
FILE* tmpfile( )
The tmpfile
function
generates a unique filename and opens a file with that name using
mode "wb+
". When the program
terminates normally, the file is automatically deleted. If the
temporary file cannot be created, a null pointer is returned.