getenv

Searches the environment area for the environment variable and returns the environment variable’s value (presently, environment variables are not supported)

Local Servers:nonblocking
Remote Servers:N/A
Classification:ANSI
Service:Thread

Syntax

  #include <stdlib.h>  
   
  char *getenv  (  
     const char   *varname); 
  

Parameters

varname
(IN) Points to an environment variable.

Return Values

This function returns a pointer to the string assigned to the environment variable if found, and NULL if no match was found. Currently, NULL is always returned.

Remarks

The matching is case-insensitive; all lowercase letters are treated as if they were uppercase.