INtime SDK Help
tmpfile, tmpfile_s (ANSI, stdio)

Creates a temporary file, opens in it binary read/write mode, and returns a stream pointer to it.

#include <stdio.h>
FILE *tmpfile (void);
errno_t tmpfile_s (
FILE** pFile);

Remarks

The temporary file is automatically deleted when the file is closed, when the program terminates normally, or when rmtmp is called, assuming that the current working directory does not change.

Return Values

A stream pointer.
Success.
A null pointer.
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdio.h stdio.h clib.lib

See Also

rmtmp, tmpnam