45 for (i = 0;i < plus.len;++i)
49 e = (
char **)
alloc((elen + 1) *
sizeof(
char *));
57 for (i = 0;i < plus.len;++i)
59 split =
str_chr(plus.s + j,
'=');
60 for (t = 0;t < elen;++t)
62 if (e[t][split] ==
'=') {
67 if (plus.s[j + split])
68 e[elen++] = plus.s + j;
char * alloc(unsigned int n)
void pathexec(char *const *argv)
int stralloc_cats(stralloc *, const char *)
int pathexec_env(const char *s, const char *t)
void pathexec_run(const char *, char *const *, char *const *)
unsigned int str_chr(const char *, int)
int stralloc_cat(stralloc *, const stralloc *)
int stralloc_copys(stralloc *, const char *)
#define byte_equal(s, n, t)
int pathexec_multienv(stralloc *sa)