Lines Matching defs:wdarg
65 int wordexp(const char *string, wordexp_t *wdarg, register int flags)
75 wordfree(wdarg);
78 wdarg->we_wordv = 0;
79 wdarg->we_wordc = 0;
154 c += wdarg->we_offs;
156 av = (char**)realloc((void*)&wdarg->we_wordv[-1], (wdarg->we_wordc+c)*sizeof(char*));
160 memset((void*)av,0,(wdarg->we_offs+1)*sizeof(char*));
175 wdarg->we_wordv = av;
177 av += wdarg->we_wordc;
178 wdarg->we_wordc += ac;
180 av += wdarg->we_offs;
199 * free fields in <wdarg>
201 int wordfree(register wordexp_t *wdarg)
204 if(wdarg->we_wordv)
206 argnext = (struct list*)wdarg->we_wordv[-1];
212 free((void*)&wdarg->we_wordv[-1]);
213 wdarg->we_wordv = 0;
215 wdarg->we_wordc=0;