@c ----------------------------------------------------------------------
@node tmpfile, stdio
@heading @code{tmpfile}
@subheading Syntax

@example
#include <stdio.h>

FILE *tmpfile(void);
@end example

@subheading Description

This function opens a temporary file.  It will automatically be removed
when the program exits. 

@subheading Return Value

A newly opened file.

@subheading Example

@example
FILE *tmp = tmpfile();
@end example

@c ----------------------------------------------------------------------
@node tmpnam, stdio
@heading @code{tmpnam}
@subheading Syntax

@example
#include <stdio.h>

char *tmpnam(char *s);
@end example

@subheading Description

If @var{s} is NULL, a buffer is allocated, else @var{s} is used to hold
the name of a unique file. 

@subheading Return Value

A pointer to the new file name.

@subheading Example

@example
char buf[PATH_MAX];
char *s = tmpname(buf);
@end example

