putenv

Syntax:

    #include <cstdlib>
    int putenv( const char *envstring );

The function putenv() creates, modifies or removes enviroment variables. On success return is 0; on failure it is -1.

Related Topics: system,getenv