File: environ.c

package info (click to toggle)
glibc 2.0.7.19981211-6
  • links: PTS
  • area: main
  • in suites: slink
  • size: 34,644 kB
  • ctags: 27,226
  • sloc: ansic: 178,271; asm: 18,109; makefile: 3,001; sh: 2,722; awk: 565; perl: 54; csh: 15; sed: 2
file content (12 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (50)
1
2
3
4
5
6
7
8
9
10
11
12
/* 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)