Lines Matching refs:lst
174 char **lst = options->environ;
184 while (lst && lst[i]) {
185 if (match && strncmp(lst[i], match, l) == 0) {
187 free(lst[i]);
188 lst[i] = xstrdup(value);
191 l = strlen(lst[i]);
193 lst[i] = xrealloc(lst[i], l + lv + 2);
194 lst[i][l] = ' ';
195 memcpy(lst[i] + l + 1, p, lv);
196 lst[i][l + lv + 1] = '\0';
199 return lst[i];
204 newlist = xrealloc(lst, sizeof(char *) * (i + 2));