Home
last modified time | relevance | path

Searched refs:dc_conf_fp (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/dumpadm/
H A Ddconf.c115 dcp->dc_conf_fp = NULL; in dconf_init()
148 if ((dcp->dc_conf_fp = fdopen(dcp->dc_conf_fd, fpmode)) == NULL) { in dconf_open()
160 for (line = 1; fgets(buf, BUFSIZ, dcp->dc_conf_fp) != NULL; line++) { in dconf_open()
240 if (fclose(dcp->dc_conf_fp) == 0) { in dconf_close()
252 if (fseeko(dcp->dc_conf_fp, (off_t)0, SEEK_SET) == -1) { in dconf_write()
265 "#\n", dcp->dc_conf_fp); in dconf_write()
268 if (fprintf(dcp->dc_conf_fp, "%s=", tokp->tok_name) == -1 || in dconf_write()
269 tokp->tok_print(dcp, dcp->dc_conf_fp) == -1) { in dconf_write()
275 if (fflush(dcp->dc_conf_fp) != 0) in dconf_write()
H A Ddconf.h44 FILE *dc_conf_fp; /* File pointer for config file */ member