#include <stdio.h> FILE *tmpfile(void);
This function opens a temporary file. It will automatically be removed if the file is closed or when the program exits. The name of the file is generated by the same algorithm as described under tmpnam() (see section tmpnam).
A newly opened file.
ANSI, POSIX
FILE *tmp = tmpfile();
Go to the first, previous, next, last section, table of contents.