.
[glibc/history.git] / posix / environ.c
bloba0ed0d80eab207f8d0b4b5b01dfaa653c1e4cefd
1 /* This file just defines the `__environ' variable (and alias `environ'). */
3 #include <unistd.h>
4 #include <stddef.h>
6 /* This must be initialized; we cannot have a weak alias into bss. */
7 char **__environ = NULL;
8 weak_alias (__environ, environ)
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)