www.delorie.com/djgpp/doc/libc-2.01/libc_655.html   search  
Go to the first, previous, next, last section, table of contents.


tmpfile

Syntax

#include <stdio.h>

FILE *tmpfile(void);

Description

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).

Return Value

A newly opened file.

Example

FILE *tmp = tmpfile();


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997