Searched refs:hash_arr (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c117 uint_t *hash_arr, *new_arr; local
123 hash_arr = malloc(sizeof (uint_t));
124 if (hash_arr == NULL)
127 hash_arr[0] = 0;
130 ((new_arr = realloc(hash_arr, field * sizeof (uint_t))) != NULL)) {
131 hash_arr = new_arr;
132 hash_arr[0]++;
133 hash_arr[field - 1] = hash_field_tolower(line, linelen, field,
139 free(hash_arr);
143 return (hash_arr);
[all...]

Completed in 17 milliseconds