Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
glibc/posix/environ.c
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
12 lines (9 sloc)
398 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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) |