Home | History | Annotate | Download | only in stdlib

Lines Matching full:environ

36 extern char **environ;
46 static char **lastenv; /* last value of environ */
65 for (P = environ; *P != NULL; P++)
67 cnt = P - environ;
71 if (lastenv != environ)
72 memcpy(P, environ, cnt * sizeof(char *));
73 lastenv = environ = P;
75 environ[cnt + 1] = NULL;
79 if (!(environ[offset] = /* name + `=' + value */
82 for (C = environ[offset]; (*C = *name++) && *C != '='; ++C)
100 for (P = &environ[offset];; ++P)