getenv

C++ Reference

getenv
Syntax:
  #include <stdlib.h>
  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: