Declaration:
int putenv(char name[]);
Description
Sets up the value of the environment variable. Here, is a string like:
"COMSPEC=C:\\COMMAND.COM"
Returned value
1, if the value of specified variable is set up; otherwise it returns 0.