tmpfile [C++ Reference]
Keywords: c,io,tmpfile
Date: 2009-04-12T10:53:45-0700

[[tmpfile]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## tmpfile

Syntax:

        #include <cstdio>
        FILE *tmpfile( void );

The function tmpfile() opens a temporary file with a unique filename and returns a pointer to that file. If there is an error, null is returned.

Related Topics: tmpnam

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •