Home | History | Annotate | Download | only in dhcpcd

Lines Matching defs:lst

135 	char **lst = ifo->environ;
145 while (lst && lst[i]) {
146 if (match && strncmp(lst[i], match, l) == 0) {
148 free(lst[i]);
149 lst[i] = xstrdup(value);
152 l = strlen(lst[i]);
154 lst[i] = xrealloc(lst[i], l + lv + 2);
155 lst[i][l] = ' ';
156 memcpy(lst[i] + l + 1, p, lv);
157 lst[i][l + lv + 1] = '\0';
160 return lst[i];
165 newlist = xrealloc(lst, sizeof(char *) * (i + 2));