Example: putenvProcess Control Functions

Inserts a new definition into an environment table.

int putenv( const char *envstring); 

envstring A string containing the name of the variable, an equal sign (=) and the value for the environment variable:

Return Values

0 if successful and -1 in case of error.

For putenv details, refer to your C language documentation.