putenv()
The putenv() function sets the value of an environment variable. This is useful for modifying the environment for subprocesses.