Searched refs:newlist (Results 1 – 2 of 2) sorted by relevance
90 char **newlist; in add_to_list() local95 newlist = realloc(list->list, newmax * sizeof(char *)); in add_to_list()96 if (newlist == 0) in add_to_list()99 list->list = newlist; in add_to_list()
172 char **newlist; in add_environ() local203 newlist = xrealloc(lst, sizeof(char *) * (i + 2)); in add_environ()204 newlist[i] = xstrdup(value); in add_environ()205 newlist[i + 1] = NULL; in add_environ()206 options->environ = newlist; in add_environ()208 return newlist[i]; in add_environ()