Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Denv.c152 char **dup_pos; in set_smf_env() local
157 if ((dup_pos = find_dup(*p, nenv, instance->fmri, in set_smf_env()
159 free(*dup_pos); in set_smf_env()
160 *dup_pos = strdup(*p); in set_smf_env()
161 if (*dup_pos == NULL) in set_smf_env()
/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c267 char **dup_pos; in set_smf_env() local
272 if ((dup_pos = find_dup(*p, nenv, inst)) != NULL) { in set_smf_env()
273 startd_free(*dup_pos, strlen(*dup_pos) + 1); in set_smf_env()
275 *dup_pos = startd_alloc(sz); in set_smf_env()
276 (void) strlcpy(*dup_pos, *p, sz); in set_smf_env()