Getenv

From SDU
Revision as of 21:26, 24 July 2008 by Henrique (Talk | contribs)

Jump to: navigation, search

Description

Gets the value of an environment variable

Usage

getenv ("string")

Examples

  • Getting the value of the PATH environment variable and putting it into the variable "result".
string result;
result = getenv("Path");

Results

This func will return the string value of the environment variable defined informed in string



To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.