diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/environ.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/environ.c b/src/environ.c index 62ce6652..25b5c0d8 100644 --- a/src/environ.c +++ b/src/environ.c @@ -1,4 +1,17 @@ +/** process environment **/ char **environ; + +/*** +points to an array of pointers to strings representing the process's environmnt +variables. Strings are in the form STRING(VAR(variable)=VAR(value)). A +CONST(NULL) pointer indicates the end of the environment. + +Note that THIS() is not declared in any header file, and must be declared +(with TYPE(extern) linkage) manually in a program to be used. Alternatively, +it can be manipulated with the functions FUNCTION(getenv), FUNCTION(setenv), +FUNCTION(unsetenv), and FUNCTION(putenv). +***/ + /* POSIX(1) */ |
