文法:
#include <cstdlib> int putenv( const char *環境文字列 );
putenv()関数は、環境変数を作成したり、変更したり、削除したりするのに使用します。成功時はゼロを、失敗時は-1を返します。
関連トピック: system,getenv