Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:lst

131 	char **lst = ifo->environ;
141 while (lst && lst[i]) {
142 if (match && strncmp(lst[i], match, l) == 0) {
144 free(lst[i]);
145 lst[i] = xstrdup(value);
148 l = strlen(lst[i]);
150 lst[i] = xrealloc(lst[i], l + lv + 2);
151 lst[i][l] = ' ';
152 memcpy(lst[i] + l + 1, p, lv);
153 lst[i][l + lv + 1] = '\0';
156 return lst[i];
161 newlist = xrealloc(lst, sizeof(char *) * (i + 2));