Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/dumpadm/
H A Ddconf.c116 dcp->dc_conf_fd = -1; in dconf_init()
135 if ((dcp->dc_conf_fd = open(fpath, O_RDWR | O_CREAT, DC_PERM)) == -1) { in dconf_open()
139 if ((dcp->dc_conf_fd = open(fpath, O_RDONLY)) == -1) { in dconf_open()
148 if ((dcp->dc_conf_fp = fdopen(dcp->dc_conf_fd, fpmode)) == NULL) { in dconf_open()
257 if (ftruncate(dcp->dc_conf_fd, (off_t)0) == -1) { in dconf_write()
278 if (fsync(dcp->dc_conf_fd) == -1) in dconf_write()
281 if (fchmod(dcp->dc_conf_fd, DC_PERM) == -1) in dconf_write()
284 if (fchown(dcp->dc_conf_fd, DC_OWNER, DC_GROUP) == -1) in dconf_write()
H A Ddconf.h45 int dc_conf_fd; /* File descriptor for config file */ member