Lines Matching defs:environ
114 # define environ _environ
117 extern char **environ;
668 // 'environ' array (on some others) and does not use libc. This function
672 if (::environ != 0) {
674 for (char **Env = ::environ; *Env != 0; Env++) {
681 static char *environ;
687 if (!ReadFileToBuffer("/proc/self/environ", &environ, &environ_size, &len))
688 environ = nullptr;
690 if (!environ || len == 0)
693 const char *p = environ;
696 const char *endp = (char *)internal_memchr(p, '\0', len - (p - environ));
778 ReadNullSepFileToArray("/proc/self/environ", envp, kMaxEnvp);