Home > Electronics Tutorials > C Language Tutorial > stdio.h - File Functions - tmpfile

C Language Programming Library Reference Guide

stdio.h - File Functions - tmpfile


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.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster