delorie.com/djgpp/doc/libc/libc_392.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdlib.h> char *getenv(const char *name); |
Get the setting of the environment variable name. Do not alter or free the returned value.
The value, or NULL
if that variable does not exist.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
char *term = getenv("TERM"); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |