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.c154 char **dup_pos; local
159 if ((dup_pos = find_dup(*p, nenv, instance->fmri,
161 free(*dup_pos);
162 *dup_pos = strdup(*p);
163 if (*dup_pos == NULL)
/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c321 char **dup_pos; local
326 if ((dup_pos = find_dup(*p, nenv, inst)) != NULL) {
327 startd_free(*dup_pos, strlen(*dup_pos) + 1);
329 *dup_pos = startd_alloc(sz);
330 (void) strlcpy(*dup_pos, *p, sz);

Completed in 56 milliseconds