2.12.3.19 tmpfile

Declaration:

FILE *tmpfile(void);

Creates a temporary file in binary update mode (wb+). The tempfile is removed when the program terminates or the stream is closed.

On success a pointer to a file stream is returned. On error a null pointer is returned.