Lines Matching refs:rootfile
122 FILE *rootfile, *bakfile;
140 if (!(rootfile = fdopen(rootfd, "w"))) {
153 (void) fclose(rootfile);
176 fprintf(rootfile, "%s\n", secret);
178 fprintf(rootfile, "%s", line);
179 (void) fflush(rootfile);
192 fprintf(rootfile, "%s %d\n", secret, algtype);
194 fprintf(rootfile, "%s", line);
195 (void) fflush(rootfile);
202 fprintf(rootfile, "%s\n", secret);
205 fprintf(rootfile, "\n");
206 fprintf(rootfile, "%s %d\n", secret, algtype);
209 (void) fflush(rootfile);
210 fclose(rootfile);