Lines Matching defs:nfp
367 FILE *fp, *nfp;
381 ((nfp = fdopen(fd, "w")) == NULL)) {
388 (void) fprintf(nfp, "%s", conshdr);
400 (void) fprintf(nfp, "%s\n", dev);
403 (void) fprintf(nfp, "%s\n", buf);
408 (void) fprintf(nfp, "%s\n", dev);
411 (void) fclose(nfp);
422 FILE *fp, *nfp;
441 if ((nfp = fopen(newfile, "w")) == NULL) {
448 (void) fprintf(nfp, "%s", conshdr);
465 (void) fprintf(nfp, "%s\n", value);
469 (void) fclose(nfp);