Searched defs:active_tmpl_fd (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dcontracts.c46 static int active_tmpl_fd = -1; variable
92 if ((active_tmpl_fd = create_contract_template()) == -1) {
102 if (active_tmpl_fd != -1) {
103 (void) close(active_tmpl_fd);
104 active_tmpl_fd = -1;
118 if ((err = ct_pr_tmpl_set_svc_fmri(active_tmpl_fd, fmri)) != 0) {
123 if ((err = ct_pr_tmpl_set_svc_aux(active_tmpl_fd,
130 if ((err = ct_tmpl_activate(active_tmpl_fd)) != 0) {
148 if ((err = ct_tmpl_clear(active_tmpl_fd)) != 0)

Completed in 124 milliseconds