#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, POSIX
char *term = getenv("TERM");
Go to the first, previous, next, last section, table of contents.