Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Denv.c154 char **dup_pos; in set_smf_env() local
159 if ((dup_pos = find_dup(*p, nenv, instance->fmri, in set_smf_env()
161 free(*dup_pos); in set_smf_env()
162 *dup_pos = strdup(*p); in set_smf_env()
163 if (*dup_pos == NULL) in set_smf_env()
/titanic_41/usr/src/cmd/svc/startd/
H A Denv.c321 char **dup_pos; in set_smf_env() local
326 if ((dup_pos = find_dup(*p, nenv, inst)) != NULL) { in set_smf_env()
327 startd_free(*dup_pos, strlen(*dup_pos) + 1); in set_smf_env()
329 *dup_pos = startd_alloc(sz); in set_smf_env()
330 (void) strlcpy(*dup_pos, *p, sz); in set_smf_env()