| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
MasterObject

# Method MasterObject()->putenv()

Method putenv

  `void putenv(string varname, void|string value)`

Description

  Sets the environment variable varname to value .

  If value is omitted or zero, the environment variable varname is removed.

  varname and value cannot be wide strings nor contain `'\0'` characters. varname also cannot contain `'='` characters.

Note

  On NT the environment variable name is case insensitive.

See also

  getenv()