Lines Matching defs:tmpfile
53 static int mustoverwrite(FILE *preciousfile, FILE *tmpfile);
579 FILE *tmpfile;
606 tmpfile = NULL;
613 if ((tmpfile = fopen(n_name, "r")) == NULL) {
620 oktorm = mustoverwrite(localfile, tmpfile);
623 if (tmpfile != NULL)
624 (void) fclose(tmpfile);
639 * return 1 if the tmpfile can be removed after writing it out
642 mustoverwrite(FILE *preciousfile, FILE *tmpfile)
646 while ((nread = fread(edbuf, 1, sizeof (edbuf), tmpfile)) != NULL) {