/*----------------------------------------------------------------------
   Create a temporary file, the name of which we don't care about 
and that goes away when it is closed.  Just like ANSI C tmpfile.
  ----*/
FILE  *
create_tmpfile()
{
    char *file_name;
    FILE *stream;

    file_name = temp_file_name("/tmp", "pine-tmp");
    stream = fopen(file_name, "w+");
    unlink(file_name);
    return(stream);
}


