Lines Matching defs:nfp
85 static int ipadm_process_db_line(db_wfunc_t *, void *, FILE *fp, FILE *nfp,
688 FILE *fp, *nfp = NULL;
713 if ((nfp = fdopen(nfd, "w")) == NULL) {
721 err = ipadm_process_db_line(db_walk_func, arg, fp, nfp, db_op);
727 if (fflush(nfp) == EOF) {
732 (void) fclose(nfp);
740 if (nfp != NULL) {
741 (void) fclose(nfp);
762 ipadm_process_db_line(db_wfunc_t *db_walk_func, void *arg, FILE *fp, FILE *nfp,
795 if (nfp != NULL && buf[0] == '\0')
797 if (nfp != NULL && buf[0] != '\0' && fputs(buf, nfp) == EOF) {
822 else if (fputs(buf, nfp) == EOF)