mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
c9caec621b
* posix/environ.c: Moved to... * sysdeps/generic/environ.c: ...here. New file.
13 lines
398 B
C
13 lines
398 B
C
/* This file just defines the `__environ' variable (and alias `environ'). */
|
|
|
|
#include <unistd.h>
|
|
#include <stddef.h>
|
|
|
|
/* This must be initialized; we cannot have a weak alias into bss. */
|
|
char **__environ = NULL;
|
|
weak_alias (__environ, environ)
|
|
|
|
/* The SVR4 ABI says `_environ' will be the name to use
|
|
in case the user overrides the weak alias `environ'. */
|
|
weak_alias (__environ, _environ)
|