We always prefer ```putenv()``` to ```setenv()``` because the latter is missing in many platforms.