Lines Matching refs:newfp
367 FILE *fp, *newfp; in delete_entry() local
439 if ((newfp = fdopen(newfd, "w")) == NULL) { in delete_entry()
459 if (fputs(line, newfp) == EOF) { in delete_entry()
480 if ((fputs(line, newfp)) == EOF) { in delete_entry()
505 if ((fputs(line, newfp)) == in delete_entry()
527 if (fflush(newfp) != 0 || fsync(fileno(newfp)) != 0) in delete_entry()
532 (void) fclose(newfp); in delete_entry()
1419 FILE *newfp; in update_minor_entry() local
1465 if ((newfp = fdopen(newfd, "w")) == NULL) { in update_minor_entry()
1495 if (fputs(line, newfp) == EOF) { in update_minor_entry()
1553 if ((fputs(line, newfp)) == EOF) { in update_minor_entry()
1567 if ((fputs(line, newfp)) == EOF) { in update_minor_entry()
1575 if (fflush(newfp) != 0 || fsync(fileno(newfp)) != 0) in update_minor_entry()
1578 (void) fclose(newfp); in update_minor_entry()