38 for (i = 0;i < plus.len;++
i)
42 e = (
char **)
alloc((elen + 1) *
sizeof(
char *));
50 for (i = 0;i < plus.len;++
i)
52 split =
str_chr(plus.s + j,
'=');
53 for (t = 0;t < elen;++t)
55 if (e[t][split] ==
'=') {
60 if (plus.s[j + split])
61 e[elen++] = plus.s +
j;
unsigned int str_chr(char *, int)
char * alloc(unsigned int n)
void pathexec_run(char *, char **, char **)
int pathexec_env(char *s, char *t)
int stralloc_cat(stralloc *, stralloc *)
void split(void(*dofield)(), void(*doline)())
void pathexec(char **argv)
int stralloc_copys(stralloc *, char *)
int stralloc_cats(stralloc *, char *)
#define byte_equal(s, n, t)