putenv

putenv -- Set the value of an environment variable.

Description

void putenv(string setting);

Adds setting to the environment.

Example 1. Setting an Environment Variable

  1 
  2 putenv("UNIQID=$uniqid");
  3