a0ed0d80eab207f8d0b4b5b01dfaa653c1e4cefd
[platform/upstream/linaro-glibc.git] / sysdeps / generic / environ.c
1 /* This file just defines the `__environ' variable (and alias `environ').  */
2
3 #include <unistd.h>
4 #include <stddef.h>
5
6 /* This must be initialized; we cannot have a weak alias into bss.  */
7 char **__environ = NULL;
8 weak_alias (__environ, environ)
9
10 /* The SVR4 ABI says `_environ' will be the name to use
11    in case the user overrides the weak alias `environ'.  */
12 weak_alias (__environ, _environ)