Lines Matching defs:environ
112 # define environ _environ
115 extern char **environ;
654 // 'environ' array (on some others) and does not use libc. This function
658 if (::environ != 0) {
660 for (char **Env = ::environ; *Env != 0; Env++) {
667 static char *environ;
673 if (!ReadFileToBuffer("/proc/self/environ", &environ, &environ_size, &len))
674 environ = nullptr;
676 if (!environ || len == 0)
679 const char *p = environ;
682 const char *endp = (char *)internal_memchr(p, '\0', len - (p - environ));
759 ReadNullSepFileToArray("/proc/self/environ", envp, kMaxEnvp);