[Next] [Up] [Previous]
Up: Functions and procedures Previous: GetDomainName

GetEnv

   

Declaration:

Function GetEnv (P : String) : PChar;

Description:

Returns the value of the environment variable in P. If the variable is not defined, nil is returned. The value of the environment variable may be the empty string.

A PChar is returned to accomodate for strings longer than 255 bytes, TERMCAP and LS_COLORS, for instance.

Errors:

None.

See also:

sh(1), csh(1)



Michael Van Canneyt
Thu Dec 12 15:40:07 MET 1996