TMPFILE(S) XENIX System V TMPFILE(S)
Name
tmpfile - Creates a temporary file.
Syntax
#include <stdio.h>
FILE *tmpfile ()
Description
tmpfile creates a temporary file and returns a corresponding
FILE pointer. Arrangements are made so that the file will
automatically be deleted when the process using it
terminates. The file is opened for update.
Return Value
If the file cannot be opened, an error message is printed
and a NULL pointer is returned.
See Also
creat(S), unlink(S), fopen(S), mktemp(S), tmpnam(S)
Page 1 (printed 8/7/87)