Lines Matching refs:rootfile
741 FILE *rootfile, *bakfile;
759 if (!(rootfile = fdopen(rootfd, "w"))) {
772 fclose(rootfile);
795 fprintf(rootfile, "%s\n", secret);
797 fprintf(rootfile, "%s", line);
798 fflush(rootfile);
811 fprintf(rootfile, "%s %d\n", secret, algtype);
813 fprintf(rootfile, "%s", line);
814 fflush(rootfile);
821 fprintf(rootfile, "%s\n", secret);
824 fprintf(rootfile, "\n");
825 fprintf(rootfile, "%s %d\n", secret, algtype);
828 fflush(rootfile);
829 fclose(rootfile);