Blame posix/environ.c

Packit 6c4009
/* This file just defines the `__environ' variable (and alias `environ').  */
Packit 6c4009
Packit 6c4009
#include <unistd.h>
Packit 6c4009
#include <stddef.h>
Packit 6c4009
Packit 6c4009
/* This must be initialized; we cannot have a weak alias into bss.  */
Packit 6c4009
char **__environ = NULL;
Packit 6c4009
weak_alias (__environ, environ)
Packit 6c4009
Packit 6c4009
/* The SVR4 ABI says `_environ' will be the name to use
Packit 6c4009
   in case the user overrides the weak alias `environ'.  */
Packit 6c4009
weak_alias (__environ, _environ)