Lines Matching defs:outfile
1431 datadm_generate_conf_entry(FILE *outfile, datadm_ia_entry_t *ia_entry,
1436 retval = fprintf(outfile,
1463 datadm_generate_conf_header(FILE *outfile)
1475 retval = fprintf(outfile, "%s", datadm_conf_header_default);
1483 retval = fprintf(outfile, "%s", cmnt->cmnt_line);
1494 retval = fprintf(outfile, "\n");
1515 FILE *outfile = NULL;
1521 outfile = stdout;
1523 outfile = fopen(dat_conf, "w+");
1524 if (outfile == NULL) {
1531 if (outfile != stdout) {
1536 retval = datadm_generate_conf_header(outfile);
1555 retval = datadm_generate_conf_entry(outfile,
1567 retval = fflush(outfile);
1569 if (outfile != stdout) {
1570 (void) fclose(outfile);