Gentee Programming Language > Documentation > Libraries Download documentation

setenv

The function adds new environment variable or modifies the value of the existing environment variable. New values will be valid only in the current process.
 
str setenv(
      str   varname,
      str   varvalue
)

Parameters

varnameEnvironment variable name.
varvalueA new value of the environment variable.

Return value

Nonzero if initialization was successful; otherwise 0.

See also

    Other functions


 Copyright © 2004-2006 Gentee Inc. All rights reserved.