Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c211 char **aliasArray, *aliasList; in cloneAliasList() local
249 if ((aliasArray = malloc((aliasCount+realMac+1)*sizeof (char **)+ in cloneAliasList()
255 aliasList = PTROFF(aliasArray, in cloneAliasList()
259 aliasArray[i] = aliasList; in cloneAliasList()
260 (void) memcpy(aliasArray[i], h->h_aliases[i], len+1); in cloneAliasList()
266 aliasArray[i++] = mergeAliases[j]; in cloneAliasList()
270 aliasArray[i] = 0; in cloneAliasList()
273 return (aliasArray); in cloneAliasList()