rem: FILE *fp = fopen (tmp, "w"); fclose (fp);
add: char *tmp = tmpnam(NULL);  FILE *fp = fopen(tmp, "w"); fclose(fp);
context: temp_file ()	{	char *tmp = tmpnam (NULL);		FILE *fp = fopen (tmp, "w");	fclose (fp);		return tmp;	}