The [POSIX] function putenv()
is used to set environment variable values. The putenv()
function does not create a copy of the string, rather it inserts a pointer to the string argument it is passed into the environment array.
The [POSIX] function putenv()
is used to set environment variable values. The putenv()
function does not create a copy of the string, rather it inserts a pointer to the string argument it is passed into the environment array.