putenvRestorable

Construct a variable from name and value and put it in the environment while saving the previous value of the environment variable into a global list so it can be restored later.

nothrow
bool
putenvRestorable
(
const(char)[] name
,
const(char)[] value
)

Parameters

name const(char)[]

the name of the variable

value const(char)[]

the value of the variable

Return Value

Type: bool

true on error, false on success

Suggestion Box / Bug Report