TMPFILE(3S) UNIX Programmer's Manual TMPFILE(3S) NAME tmpfile - create a temporary file SYNOPSIS #include FILE *tmpfile () HP-UX COMPATIBILITY Level: HP-UX/NUCLEUS Origin: System V DESCRIPTION _T_m_p_f_i_l_e 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 ter- minates. The file is opened for update. _T_m_p_f_i_l_e uses a name generated by _t_m_p_n_a_m. SEE ALSO creat(2), unlink(2), fopen(3S), mktemp(3C), tmpnam(3S).