getenv

C/C++ Reference

getenv
Syntax:
  #include <cstdlib>
  char *getenv( const char *name );

The function getenv() returns environmental information associated with name, and is very implementation dependent. NULL is returned if no information about name is available.

Related topics: