Searched refs:ctfd (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg_zio.c91 int ctfd; local
112 ctfd = open64("/system/contract/process/template", O_RDWR);
113 if (ctfd == -1)
115 if ((err = ct_tmpl_set_critical(ctfd, 0)) != 0 ||
116 (err = ct_tmpl_set_informative(ctfd, 0)) != 0 ||
117 (err = ct_pr_tmpl_set_fatal(ctfd, CT_PR_EV_HWERR)) != 0 ||
118 (err = ct_pr_tmpl_set_param(ctfd, CT_PR_PGRPONLY)) != 0 ||
119 (err = ct_tmpl_activate(ctfd)) != 0) {
120 (void) close(ctfd);
126 (void) ct_tmpl_clear(ctfd);
[all...]
/osnet-11/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_util.c125 int ctfd; local
150 if ((ctfd = init_template()) == -1)
155 (void) ct_tmpl_clear(ctfd);
156 (void) close(ctfd);

Completed in 15 milliseconds